Remove ewram from libretro api

- Removing RETRO_SYSTEM_MEMORY from retro_get_memory_data/size
  since its incompatible for 2 reasons:
1. gba uses at least 2 blocks of memory, which is not supported
2. the way gpsp's memory block are not contiguous (see memory
   descriptors)
This commit is contained in:
negativeExponent 2020-09-05 20:54:47 +08:00
parent d8225bb313
commit a3725fd81f
1 changed files with 0 additions and 5 deletions

View File

@ -669,8 +669,6 @@ void* retro_get_memory_data(unsigned id)
{
switch (id)
{
case RETRO_MEMORY_SYSTEM_RAM:
return ewram;
case RETRO_MEMORY_SAVE_RAM:
if (use_libretro_save_method)
return gamepak_backup;
@ -686,9 +684,6 @@ size_t retro_get_memory_size(unsigned id)
{
switch (id)
{
case RETRO_MEMORY_SYSTEM_RAM:
return 1024 * 256 * 2;
case RETRO_MEMORY_SAVE_RAM:
if (use_libretro_save_method)
{