GB Core: Separate out dir and symbol table cleanup
Vicki Pfau vi@endrift.com
Mon, 17 Aug 2020 00:56:53 -0700
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/gb/core.c
→
src/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); }