all repos — mgba @ 0b35121360d4fdcf9235b1731a2f897c49a6600b

mGBA Game Boy Advance Emulator

GB Core: Separate out dir and symbol table cleanup
Vicki Pfau vi@endrift.com
Mon, 17 Aug 2020 00:56:53 -0700
commit

0b35121360d4fdcf9235b1731a2f897c49a6600b

parent

9374463c646121be4e8a5993bd6eda4dfd2109b9

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/gb/core.csrc/gb/core.c

@@ -116,8 +116,10 @@ SM83Deinit(core->cpu);

GBDestroy(core->board); mappedMemoryFree(core->cpu, sizeof(struct SM83Core)); mappedMemoryFree(core->board, sizeof(struct GB)); -#if defined USE_DEBUGGERS && (!defined(MINIMAL_CORE) || MINIMAL_CORE < 2) +#if !defined(MINIMAL_CORE) || MINIMAL_CORE < 2 mDirectorySetDeinit(&core->dirs); +#endif +#ifdef USE_DEBUGGERS if (core->symbolTable) { mDebuggerSymbolTableDestroy(core->symbolTable); }