X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxmem.c;h=9bb3760ab0a8e34707861ef9d6667146c8ea1d09;hb=e411faef49c640ec07bba761fb0210758f955c05;hp=1f7aa8cda92c56f8a988e3bab5972fea3f4ed6f3;hpb=479d58cf907d87d12c2ab6cf9acc17f88ef2eeec;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index 1f7aa8cd..9bb3760a 100644 --- a/libpcsxcore/psxmem.c +++ b/libpcsxcore/psxmem.c @@ -175,7 +175,7 @@ int psxMemInit(void) unsigned int i; int ret; - if (LIGHTREC_CUSTOM_MAP && Config.Cpu == CPU_DYNAREC) + if (LIGHTREC_CUSTOM_MAP) ret = lightrec_init_mmap(); else ret = psxMemInitMap(); @@ -255,7 +255,7 @@ void psxMemReset() { } void psxMemShutdown() { - if (LIGHTREC_CUSTOM_MAP && Config.Cpu == CPU_DYNAREC) + if (LIGHTREC_CUSTOM_MAP) lightrec_free_mmap(); else psxMemFreeMap();