aboutsummaryrefslogtreecommitdiff
path: root/source/sa1cpu.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/sa1cpu.c
parent10a58e72aa3f74a821fa9be07ffd3992ffa93600 (diff)
downloadsnesemu-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.gz
snesemu-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.bz2
snesemu-bcaf44c511efaad9d803dde9b0fdbb046498c66f.zip
Support for savestate versioning. Plenty of cleanups.
Diffstat (limited to 'source/sa1cpu.c')
-rw-r--r--source/sa1cpu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/sa1cpu.c b/source/sa1cpu.c
index 272eb52..28f0c59 100644
--- a/source/sa1cpu.c
+++ b/source/sa1cpu.c
@@ -47,7 +47,6 @@
#define StackRelative SA1StackRelative
#define StackRelativeIndirectIndexed SA1StackRelativeIndirectIndexed
-#undef VAR_CYCLES
#define SA1_OPCODES
#include "cpuops.c"
@@ -74,9 +73,7 @@ void S9xSA1MainLoop()
for (i = 0; i < 3 && SA1.Executing; i++)
{
-#ifdef CPU_SHUTDOWN
SA1.PCAtOpcodeStart = SA1.PC;
-#endif
(*SA1.S9xOpcodes [*SA1.PC++].S9xOpcode)();
}
}