From 10dc12c502caa6e251f622c1f44897afc86ad0e7 Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 11 Apr 2018 14:21:46 -0700 Subject: [PATCH] Core: Fix libretro builds --- Core/gb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/gb.c b/Core/gb.c index b2420152..da1e9419 100644 --- a/Core/gb.c +++ b/Core/gb.c @@ -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)); }