Fix main RAM size in retro_get_memory_size
authorretro-wertz <retro-wertz@users.noreply.github.com>
Sun, 4 Aug 2019 23:39:22 +0000 (07:39 +0800)
committerGitHub <noreply@github.com>
Sun, 4 Aug 2019 23:39:22 +0000 (07:39 +0800)
PSX Main RAM should only by 2048KB

frontend/libretro.c

index bdf0829..32f00dc 100644 (file)
@@ -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;
 }