mirror of https://github.com/snes9xgit/snes9x.git
Fix bad copypasta.
This commit is contained in:
parent
d3ecdd3534
commit
dbd2331282
30
memmap.cpp
30
memmap.cpp
|
@ -3324,15 +3324,12 @@ void CMemory::Map_SA1LoROMMap (void)
|
||||||
map_space(c, c, 0x0000, 0xffff, SRAM + (c & 1) * 0x10000, false);
|
map_space(c, c, 0x0000, 0xffff, SRAM + (c & 1) * 0x10000, false);
|
||||||
|
|
||||||
#ifdef __LIBRETRO__
|
#ifdef __LIBRETRO__
|
||||||
if (auto_export_map)
|
struct retro_memory_descriptor desc = {0};
|
||||||
{
|
desc.ptr=SRAM;
|
||||||
struct retro_memory_descriptor desc = {0};
|
desc.start=0x400000;
|
||||||
desc.ptr=SRAM;
|
desc.select=0xC00000;
|
||||||
desc.start=0x400000;
|
desc.disconnect=0xFE0000;
|
||||||
desc.select=0xC00000;
|
S9xAppendMapping(&desc);
|
||||||
desc.disconnect=0xFE0000;
|
|
||||||
S9xAppendMapping(&desc);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
map_WRAM();
|
map_WRAM();
|
||||||
|
@ -3378,15 +3375,12 @@ void CMemory::Map_GNEXTSA1LoROMMap (void)
|
||||||
map_space(c, c, 0x0000, 0xffff, SRAM + (c & 1) * 0x10000, false);
|
map_space(c, c, 0x0000, 0xffff, SRAM + (c & 1) * 0x10000, false);
|
||||||
|
|
||||||
#ifdef __LIBRETRO__
|
#ifdef __LIBRETRO__
|
||||||
if (auto_export_map)
|
struct retro_memory_descriptor desc = {0};
|
||||||
{
|
desc.ptr=SRAM;
|
||||||
struct retro_memory_descriptor desc = {0};
|
desc.start=0x400000;
|
||||||
desc.ptr=SRAM;
|
desc.select=0xC00000;
|
||||||
desc.start=0x400000;
|
desc.disconnect=0xFE0000;
|
||||||
desc.select=0xC00000;
|
S9xAppendMapping(&desc);
|
||||||
desc.disconnect=0xFE0000;
|
|
||||||
S9xAppendMapping(&desc);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// FIXME: untested!
|
// FIXME: untested!
|
||||||
|
|
Loading…
Reference in New Issue