From feb7ddabab930359c045128134d942894ff5f4f8 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Fri, 13 Nov 2015 01:10:59 +0100 Subject: build bix for non ARM platforms. (still not functional) --- src/apu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/apu.h') diff --git a/src/apu.h b/src/apu.h index 2beef0d..ccf68dc 100644 --- a/src/apu.h +++ b/src/apu.h @@ -107,8 +107,9 @@ STATIC inline void S9xAPUUnpackStatus() { IAPU._Zero = ((IAPU.P & Zero) == 0) | (IAPU.P & Negative); - +#ifdef ASMCPU if (!Settings.asmspc700) +#endif { IAPU._Carry = (IAPU.P & Carry); IAPU._Overflow = (IAPU.P & Overflow); @@ -117,6 +118,7 @@ STATIC inline void S9xAPUUnpackStatus() STATIC inline void S9xAPUPackStatus() { +#ifdef ASMCPU if (Settings.asmspc700) { IAPU.P &= ~(Zero | Negative); @@ -125,6 +127,7 @@ STATIC inline void S9xAPUPackStatus() } else +#endif { IAPU.P &= ~(Zero | Negative | Carry | Overflow); if (IAPU._Carry) IAPU.P |= Carry; -- cgit v1.2.3