diff options
author | negativeExponent | 2020-09-05 20:54:47 +0800 |
---|---|---|
committer | negativeExponent | 2020-09-05 20:54:57 +0800 |
commit | a3725fd81fbd3c779753aea351efeb0193a56ac9 (patch) | |
tree | 8c303987b6df57aa96496527da003c4c4c684812 /libretro.c | |
parent | d8225bb313a19bc3b65e257401d3cf5f3eaa32e3 (diff) | |
download | picogpsp-a3725fd81fbd3c779753aea351efeb0193a56ac9.tar.gz picogpsp-a3725fd81fbd3c779753aea351efeb0193a56ac9.tar.bz2 picogpsp-a3725fd81fbd3c779753aea351efeb0193a56ac9.zip |
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)
Diffstat (limited to 'libretro.c')
-rw-r--r-- | libretro.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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) { |