diff options
author | João Silva | 2017-01-15 01:56:01 +0000 |
---|---|---|
committer | João Silva | 2017-01-15 01:56:01 +0000 |
commit | f1ca19db63461fd36a5739b0b7bd172185811d50 (patch) | |
tree | 87330b0cb53dd4302071999a312c712672466550 /source | |
parent | bc7474392a91fa9838e6ecb5b16ccebdd97ab9ec (diff) | |
download | snes9x2005-f1ca19db63461fd36a5739b0b7bd172185811d50.tar.gz snes9x2005-f1ca19db63461fd36a5739b0b7bd172185811d50.tar.bz2 snes9x2005-f1ca19db63461fd36a5739b0b7bd172185811d50.zip |
Fixed build with Blargg's APU.
Diffstat (limited to 'source')
-rw-r--r-- | source/cpuops.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |