Add files via upload

Add system RAM to retro_get_memory_data
This commit is contained in:
celerizer 2017-10-31 00:09:43 -05:00 committed by GitHub
parent 6960ecf797
commit 15fdb8c851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4295,6 +4295,8 @@ void *retro_get_memory_data(unsigned type)
switch (type)
{
case RETRO_MEMORY_SYSTEM_RAM:
return MainRAM.data8;
case RETRO_MEMORY_SAVE_RAM:
if (use_mednafen_memcard0_method)
return NULL;