diff options
author | Twinaphex | 2017-06-18 18:41:06 +0200 |
---|---|---|
committer | GitHub | 2017-06-18 18:41:06 +0200 |
commit | 1aecedc999445e9a27e04f665fd562b576775d08 (patch) | |
tree | c526c7d332be548a42364eea9113b6d33345b840 /source/seta010.c | |
parent | dc596c886e0ec2728dc353dd7862cdf1e5a5ff44 (diff) | |
parent | bcaf44c511efaad9d803dde9b0fdbb046498c66f (diff) | |
download | snesemu-1aecedc999445e9a27e04f665fd562b576775d08.tar.gz snesemu-1aecedc999445e9a27e04f665fd562b576775d08.tar.bz2 snesemu-1aecedc999445e9a27e04f665fd562b576775d08.zip |
Merge pull request #36 from jamsilva/master
Compatibility fixes.
Diffstat (limited to 'source/seta010.c')
-rw-r--r-- | source/seta010.c | 6 |
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 |