aboutsummaryrefslogtreecommitdiff
path: root/source/memmap.c
diff options
context:
space:
mode:
authorJoão Silva2017-06-18 16:16:19 +0100
committerJoão Silva2017-06-18 16:16:19 +0100
commitbcaf44c511efaad9d803dde9b0fdbb046498c66f (patch)
treec526c7d332be548a42364eea9113b6d33345b840 /source/memmap.c
parent10a58e72aa3f74a821fa9be07ffd3992ffa93600 (diff)
downloadsnes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.gz
snes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.bz2
snes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.zip
Support for savestate versioning. Plenty of cleanups.
Diffstat (limited to 'source/memmap.c')
-rw-r--r--source/memmap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/memmap.c b/source/memmap.c
index ec1dac8..31b46e6 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -29,7 +29,7 @@
#define MAP_RONLY_SRAM_OR_NONE (Memory.SRAMSize == 0 ? (uint8_t*) MAP_NONE : (uint8_t*) MAP_RONLY_SRAM)
#include "fxemu.h"
-extern struct FxInit_s SuperFX;
+extern FxInit_s SuperFX;
static int32_t retry_count = 0;
static uint8_t bytes0x2000 [0x2000];
@@ -925,11 +925,9 @@ again:
Tales = true;
InitROM(Tales);
-#ifdef WANT_CHEATS
S9xLoadCheatFile(S9xGetFilename("cht"));
S9xInitCheatData();
S9xApplyCheats();
-#endif
S9xReset();
return true;
}
@@ -3125,6 +3123,4 @@ void ParseSNESHeader(uint8_t* RomHeader)
sprintf(Memory.CompanyId, "%02X", RomHeader[0x2A]);
}
-#undef INLINE
-#define INLINE
#include "getset.h"