From e18e3e55bbe96eb2e415ef0ba0ea743460ec0b7b Mon Sep 17 00:00:00 2001 From: João Silva Date: Sun, 13 Aug 2017 03:54:24 +0100 Subject: Sound fixes (including a savestate loading crash fix on 64-bit). --- source/spc700.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/spc700.c') 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; \ -- cgit v1.2.3