aboutsummaryrefslogtreecommitdiff
path: root/source/spc700.c
diff options
context:
space:
mode:
authorJoão Silva2017-08-13 03:54:24 +0100
committerJoão Silva2017-08-13 03:54:24 +0100
commite18e3e55bbe96eb2e415ef0ba0ea743460ec0b7b (patch)
tree57a6be092ef3d39b714de8aab96ac5a05c8676e8 /source/spc700.c
parent62be8bed4dc3dc7793f1df1391f153436e4ea949 (diff)
downloadsnes9x2005-e18e3e55bbe96eb2e415ef0ba0ea743460ec0b7b.tar.gz
snes9x2005-e18e3e55bbe96eb2e415ef0ba0ea743460ec0b7b.tar.bz2
snes9x2005-e18e3e55bbe96eb2e415ef0ba0ea743460ec0b7b.zip
Sound fixes (including a savestate loading crash fix on 64-bit).
Diffstat (limited to 'source/spc700.c')
-rw-r--r--source/spc700.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/spc700.c b/source/spc700.c
index 53bbb1b..6737e30 100644
--- a/source/spc700.c
+++ b/source/spc700.c
@@ -28,9 +28,9 @@ uint32_t Work32 = 0;
if (IAPU.WaitCounter == 0) \
{ \
if (!ICPU.CPUExecuting) \
- APU.Cycles = CPU.Cycles = CPU.NextEvent; \
+ APU.Cycles = CPU.Cycles = CPU.NextEvent; \
else \
- IAPU.APUExecuting = false; \
+ IAPU.APUExecuting = false; \
} \
else if (IAPU.WaitCounter >= 2) \
IAPU.WaitCounter = 1; \