Fix bad copypasta.

This commit is contained in:
Alcaro 2014-05-28 20:28:19 +02:00
parent d3ecdd3534
commit dbd2331282
1 changed files with 12 additions and 18 deletions

View File

@ -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!