mirror of https://github.com/mgba-emu/mgba.git
Libretro: Fix mapped high SRAM start address
This commit is contained in:
parent
e73f302aee
commit
f6851eba95
|
@ -820,7 +820,7 @@ static void _setupMaps(struct mCore* core) {
|
||||||
if ((savedataSize & ~0xFF) > GB_SIZE_EXTERNAL_RAM) {
|
if ((savedataSize & ~0xFF) > GB_SIZE_EXTERNAL_RAM) {
|
||||||
descs[i].ptr = savedata;
|
descs[i].ptr = savedata;
|
||||||
descs[i].offset = GB_SIZE_EXTERNAL_RAM;
|
descs[i].offset = GB_SIZE_EXTERNAL_RAM;
|
||||||
descs[i].start = GB_BASE_EXTERNAL_RAM;
|
descs[i].start = 0x16000;
|
||||||
descs[i].len = savedataSize - GB_SIZE_EXTERNAL_RAM;
|
descs[i].len = savedataSize - GB_SIZE_EXTERNAL_RAM;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue