Core: Fix libretro builds
This commit is contained in:
parent
417ae21dfa
commit
10dc12c502
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user