mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 11:41:48 +01:00
Merge pull request #69 from nadavbh12/master
implemented get RETRO_MEMORY_SYSTEM_RAM
This commit is contained in:
commit
7e105cf39a
@ -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