mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 12:11:50 +01:00
adopting styling conventions
This commit is contained in:
parent
29e7815f89
commit
8315735b7e
@ -2137,11 +2137,10 @@ void *retro_get_memory_data(unsigned id)
|
|||||||
return sram.sram;
|
return sram.sram;
|
||||||
case RETRO_MEMORY_SYSTEM_RAM:
|
case RETRO_MEMORY_SYSTEM_RAM:
|
||||||
|
|
||||||
if (system_hw == SYSTEM_SMS){
|
if (system_hw == SYSTEM_SMS)
|
||||||
return zram; // 0x2000 = 8kb z80 ram
|
return zram; // 0x2000 = 8kb z80 ram
|
||||||
}else{
|
else
|
||||||
return work_ram; //0x10000 = 64kb 68000 ram
|
return work_ram; //0x10000 = 64kb 68000 ram
|
||||||
}
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user