diff options
author | aliaspider | 2015-11-13 01:10:59 +0100 |
---|---|---|
committer | aliaspider | 2015-11-13 01:14:10 +0100 |
commit | feb7ddabab930359c045128134d942894ff5f4f8 (patch) | |
tree | a44a9115c7ae6a819f490b174af41f08ea96855f /src/apu.h | |
parent | 9adfbb8d43e68e6ae828a534eeadbcbe3d46ca46 (diff) | |
download | snes9x2002-feb7ddabab930359c045128134d942894ff5f4f8.tar.gz snes9x2002-feb7ddabab930359c045128134d942894ff5f4f8.tar.bz2 snes9x2002-feb7ddabab930359c045128134d942894ff5f4f8.zip |
build bix for non ARM platforms.
(still not functional)
Diffstat (limited to 'src/apu.h')
-rw-r--r-- | src/apu.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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;
|