Core: Fix libretro builds

This commit is contained in:
orbea 2018-04-11 14:21:46 -07:00
parent 417ae21dfa
commit 10dc12c502
1 changed files with 2 additions and 0 deletions

View File

@ -144,7 +144,9 @@ void GB_free(GB_gameboy_t *gb)
if (gb->breakpoints) { if (gb->breakpoints) {
free(gb->breakpoints); free(gb->breakpoints);
} }
#ifndef DISABLE_DEBUGGER
GB_debugger_clear_symbols(gb); GB_debugger_clear_symbols(gb);
#endif
GB_rewind_free(gb); GB_rewind_free(gb);
memset(gb, 0, sizeof(*gb)); memset(gb, 0, sizeof(*gb));
} }