From: retro-wertz Date: Sun, 4 Aug 2019 23:39:22 +0000 (+0800) Subject: Fix main RAM size in retro_get_memory_size X-Git-Tag: r24l~705^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af013d2c5d4d19d855d5213467032bb9a444d6b;p=pcsx_rearmed.git Fix main RAM size in retro_get_memory_size PSX Main RAM should only by 2048KB --- diff --git a/frontend/libretro.c b/frontend/libretro.c index bdf08293..32f00dc6 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1323,7 +1323,7 @@ size_t retro_get_memory_size(unsigned id) if (id == RETRO_MEMORY_SAVE_RAM) return MCD_SIZE; else if (id == RETRO_MEMORY_SYSTEM_RAM) - return 0x210000; + return 0x200000; else return 0; }