aboutsummaryrefslogtreecommitdiff
path: root/source/cpu.c
diff options
context:
space:
mode:
authorJoão Silva2017-01-15 01:08:40 +0000
committerJoão Silva2017-01-15 01:08:40 +0000
commitbc7474392a91fa9838e6ecb5b16ccebdd97ab9ec (patch)
tree3447568188fd4e707386acb3a2034958f9ba1fed /source/cpu.c
parenta06ce12a2acdc993742df298f6d40811da70a432 (diff)
downloadsnes9x2005-bc7474392a91fa9838e6ecb5b16ccebdd97ab9ec.tar.gz
snes9x2005-bc7474392a91fa9838e6ecb5b16ccebdd97ab9ec.tar.bz2
snes9x2005-bc7474392a91fa9838e6ecb5b16ccebdd97ab9ec.zip
Fixed input for games like SMAS and removed joypad swapping option.
Diffstat (limited to 'source/cpu.c')
-rw-r--r--source/cpu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/cpu.c b/source/cpu.c
index ba1b45f..62587de 100644
--- a/source/cpu.c
+++ b/source/cpu.c
@@ -104,14 +104,13 @@ static void CommonS9xReset(void)
void S9xReset(void)
{
- S9xResetPPU();
CommonS9xReset();
+ S9xResetPPU();
memset(Memory.RAM, 0x55, 0x20000);
}
void S9xSoftReset(void)
{
- S9xSoftResetPPU();
CommonS9xReset();
+ S9xSoftResetPPU();
}
-