diff options
author | twinaphex | 2016-08-08 03:57:40 +0200 |
---|---|---|
committer | twinaphex | 2016-08-08 03:57:40 +0200 |
commit | ad4a95e51190f18c0a5d03945ca049d19cfc48be (patch) | |
tree | 2c5b76ffe8dc97e48d87239628060f16b0e41722 /src/cpuexec.h | |
parent | 03348aad9460c12407c33f63646a9d81f1461931 (diff) | |
download | snes9x2002-ad4a95e51190f18c0a5d03945ca049d19cfc48be.tar.gz snes9x2002-ad4a95e51190f18c0a5d03945ca049d19cfc48be.tar.bz2 snes9x2002-ad4a95e51190f18c0a5d03945ca049d19cfc48be.zip |
Cleanups
Diffstat (limited to 'src/cpuexec.h')
-rw-r--r-- | src/cpuexec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpuexec.h b/src/cpuexec.h index 407c7e5..e5872de 100644 --- a/src/cpuexec.h +++ b/src/cpuexec.h @@ -97,14 +97,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);
@@ -112,14 +112,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())
{
|