mirror of https://github.com/mgba-emu/mgba.git
Libretro: Fix GB SRAM in memory map
This commit is contained in:
parent
1ffae75fae
commit
e18063071a
|
@ -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