mirror of https://github.com/mgba-emu/mgba.git
Libretro: Fix GB SRAM in memory map
This commit is contained in:
parent
b8f410c0bd
commit
bd87563aa0
|
@ -618,8 +618,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