commit
51e3cb7b9f
@ -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