From f1ca19db63461fd36a5739b0b7bd172185811d50 Mon Sep 17 00:00:00 2001 From: João Silva Date: Sun, 15 Jan 2017 01:56:01 +0000 Subject: Fixed build with Blargg's APU. --- source/cpuops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source') diff --git a/source/cpuops.c b/source/cpuops.c index 302a17f..c640763 100644 --- a/source/cpuops.c +++ b/source/cpuops.c @@ -3187,6 +3187,7 @@ static inline void ForceShutdown() #ifdef CPU_SHUTDOWN #ifndef SA1_OPCODES CPU.WaitAddress = NULL; +#ifndef USE_BLARGG_APU CPU.Cycles = CPU.NextEvent; if (IAPU.APUExecuting) { @@ -3197,6 +3198,7 @@ static inline void ForceShutdown() } while (APU.Cycles < CPU.NextEvent); ICPU.CPUExecuting = true; } +#endif #else SA1.Executing = false; SA1.CPUExecuting = false; -- cgit v1.2.3