mirror of
https://github.com/libretro/mgba.git
synced 2024-11-22 23:49:51 +00:00
Libretro: Fix GB SRAM in memory map
This commit is contained in:
parent
e9183b4f4a
commit
480d347c47
@ -1715,8 +1715,8 @@ static void _setupMaps(struct mCore* core) {
|
||||
i++;
|
||||
|
||||
/* Map External RAM */
|
||||
if (gb->memory.sram) {
|
||||
descs[i].ptr = gb->memory.sram;
|
||||
if (savedataSize) {
|
||||
descs[i].ptr = savedata;
|
||||
descs[i].start = GB_BASE_EXTERNAL_RAM;
|
||||
descs[i].len = savedataSize;
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user