diff --git a/ssnes.c b/ssnes.c index 849e673db4..af391effb9 100644 --- a/ssnes.c +++ b/ssnes.c @@ -2268,7 +2268,9 @@ int ssnes_main_init(int argc, char *argv[]) set_savestate_auto_index(); g_extern.use_sram = true; +#ifdef HAVE_XML bool allow_cheats = true; +#endif if (!init_rom_file(g_extern.game_type)) goto error;