all repos — mgba @ 5f68358e8b1dae5eafaf49b21c5cbca04a5721bb

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

5f68358e8b1dae5eafaf49b21c5cbca04a5721bb

parent

b6a3133a135f20a7da16f4b2cdca239586355a36

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

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

@@ -129,8 +129,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); }