diff --git a/libretro/libretro.c b/libretro/libretro.c index 7621242..b38100a 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -2048,6 +2048,8 @@ void *retro_get_memory_data(unsigned id) { case RETRO_MEMORY_SAVE_RAM: return sram.sram; + case RETRO_MEMORY_SYSTEM_RAM: + return work_ram; default: return NULL; @@ -2084,7 +2086,8 @@ size_t retro_get_memory_size(unsigned id) } } } - + case RETRO_MEMORY_SYSTEM_RAM: + return 0x10000; default: return 0; }