implemented get RETRO_MEMORY_SYSTEM_RAM

This commit is contained in:
Nadavbh 2017-01-07 23:02:39 +02:00
parent 3bcc5f036e
commit f66676d868

View File

@ -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;
}