diff --git a/libretro/libretro.c b/libretro/libretro.c index d9e8b40..a4f65f3 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -2137,12 +2137,11 @@ void *retro_get_memory_data(unsigned id) return sram.sram; case RETRO_MEMORY_SYSTEM_RAM: - if (system_hw == SYSTEM_SMS){ - return zram; // 0x2000 = 8kb z80 ram - }else{ - return work_ram; //0x10000 = 64kb 68000 ram - } - + if (system_hw == SYSTEM_SMS) + return zram; // 0x2000 = 8kb z80 ram + else + return work_ram; //0x10000 = 64kb 68000 ram + default: return NULL; }