Merge pull request #64 from orbea/debugger

Core: Fix libretro builds
This commit is contained in:
Lior Halphon 2018-04-12 00:25:38 +03:00 committed by GitHub
commit 51e3cb7b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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