aboutsummaryrefslogtreecommitdiff
path: root/source/seta010.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/seta010.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/seta010.c')
-rw-r--r--source/seta010.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/seta010.c b/source/seta010.c
index 89ae4f8..4e1a293 100644
--- a/source/seta010.c
+++ b/source/seta010.c
@@ -577,10 +577,8 @@ void S9xSetST010(uint32_t Address, uint8_t Byte)
int16_t xpos_max = ST010_WORD(0x00C2);
// current coordinates and direction
- int32_t ypos = Memory.SRAM[0xC4] | (Memory.SRAM[0xC5] << 8) |
- (Memory.SRAM[0xC6] << 16) | (Memory.SRAM[0xC7] << 24);
- int32_t xpos = Memory.SRAM[0xC8] | (Memory.SRAM[0xC9] << 8) |
- (Memory.SRAM[0xCA] << 16) | (Memory.SRAM[0xCB] << 24);
+ int32_t ypos = Memory.SRAM[0xC4] | (Memory.SRAM[0xC5] << 8) | (Memory.SRAM[0xC6] << 16) | (Memory.SRAM[0xC7] << 24);
+ int32_t xpos = Memory.SRAM[0xC8] | (Memory.SRAM[0xC9] << 8) | (Memory.SRAM[0xCA] << 16) | (Memory.SRAM[0xCB] << 24);
uint16_t rot = Memory.SRAM[0xCC] | (Memory.SRAM[0xCD] << 8);
// physics