all repos — mgba @ 3abd2ca0289ef1bd0ec10340b047304202a3cb3b

mGBA Game Boy Advance Emulator

Core: Clean up after core has been deinited
Jeffrey Pfau jeffrey@endrift.com
Thu, 03 Mar 2016 00:04:36 -0800
commit

3abd2ca0289ef1bd0ec10340b047304202a3cb3b

parent

1f204c8eefe74322cf49c827cbb43a12c960c994

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/gb/core.csrc/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.csrc/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) {