Core: Clean up after core has been deinited
Jeffrey Pfau jeffrey@endrift.com
Thu, 03 Mar 2016 00:04:36 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
src/gb/core.c
→
src/gb/core.c
@@ -54,6 +54,7 @@ mappedMemoryFree(core->board, sizeof(struct GB));
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2 mDirectorySetDeinit(&core->dirs); #endif + free(core); } static enum mPlatform _GBCorePlatform(struct mCore* core) {
M
src/gba/core.c
→
src/gba/core.c
@@ -64,6 +64,7 @@ mappedMemoryFree(core->board, sizeof(struct GBA));
#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2 mDirectorySetDeinit(&core->dirs); #endif + free(core); } static enum mPlatform _GBACorePlatform(struct mCore* core) {