mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-10 21:05:12 +01:00
implemented get RETRO_MEMORY_SYSTEM_RAM
This commit is contained in:
parent
3bcc5f036e
commit
f66676d868
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user