X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=6e45e2f2e07e021bfd89f595ebc9e5551f506dad;hb=46ea5a4e4714bc57302c54b56d716f02a6e72c9e;hp=856ea8e929c39bfc40923ce950efcd44973e660b;hpb=4857be429edcb6a0a5e6ba917c8f1e95aa73e21f;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index 856ea8e9..6e45e2f2 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1242,6 +1242,7 @@ strcasestr(const char *s, const char *find) static void set_retro_memmap(void) { +#ifndef NDEBUG struct retro_memory_map retromap = { 0 }; struct retro_memory_descriptor mmap = { 0, psxM, 0, 0, 0, 0, 0x200000 @@ -1251,6 +1252,7 @@ static void set_retro_memmap(void) retromap.num_descriptors = 1; environ_cb(RETRO_ENVIRONMENT_SET_MEMORY_MAPS, &retromap); +#endif } static void update_variables(bool in_flight); @@ -2485,7 +2487,6 @@ static void print_internal_fps(void) void retro_run(void) { - int i; //SysReset must be run while core is running,Not in menu (Locks up Retroarch) if (rebootemu != 0) {