summaryrefslogtreecommitdiff
path: root/src/cpuexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpuexec.h')
-rw-r--r--src/cpuexec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpuexec.h b/src/cpuexec.h
index f298e2c..06ccfc0 100644
--- a/src/cpuexec.h
+++ b/src/cpuexec.h
@@ -93,14 +93,14 @@ extern uint8 S9xE0M0X1 [256];
extern SICPU ICPU;
END_EXTERN_C
-static inline void CLEAR_IRQ_SOURCE(uint32 M)
+static INLINE void CLEAR_IRQ_SOURCE(uint32 M)
{
CPU.IRQActive &= ~M;
if (!CPU.IRQActive)
CPU.Flags &= ~IRQ_PENDING_FLAG;
}
-static inline void S9xUnpackStatus()
+static INLINE void S9xUnpackStatus()
{
ICPU._Zero = (Registers.PL & Zero) == 0;
ICPU._Negative = (Registers.PL & Negative);
@@ -108,14 +108,14 @@ static inline void S9xUnpackStatus()
ICPU._Overflow = (Registers.PL & Overflow) >> 6;
}
-static inline void S9xPackStatus()
+static INLINE void S9xPackStatus()
{
Registers.PL &= ~(Zero | Negative | Carry | Overflow);
Registers.PL |= ICPU._Carry | ((ICPU._Zero == 0) << 1) |
(ICPU._Negative & 0x80) | (ICPU._Overflow << 6);
}
-static inline void S9xFixCycles()
+static INLINE void S9xFixCycles()
{
if (CheckEmulation())
{