aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.h
diff options
context:
space:
mode:
authortwinaphex2016-08-08 03:51:26 +0200
committertwinaphex2016-08-08 03:51:26 +0200
commit53311c57c4eb1ef7f91dfe87f62323c81d610f7e (patch)
tree3c9833e2d0f3a84ea6fdf594d804bbc7b448496a /source/cpuexec.h
parentc2e0540fecb7ce6ac11362cc77cf12aa60656516 (diff)
downloadsnesemu-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.tar.gz
snesemu-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.tar.bz2
snesemu-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.zip
Cleanups
Diffstat (limited to 'source/cpuexec.h')
-rw-r--r--source/cpuexec.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/cpuexec.h b/source/cpuexec.h
index 531531d..87428f9 100644
--- a/source/cpuexec.h
+++ b/source/cpuexec.h
@@ -145,7 +145,7 @@ extern SOpcodes S9xOpcodesM0X0 [256];
extern SICPU ICPU;
-STATIC inline void S9xUnpackStatus()
+static inline void S9xUnpackStatus()
{
ICPU._Zero = (ICPU.Registers.PL & Zero) == 0;
ICPU._Negative = (ICPU.Registers.PL & Negative);
@@ -153,21 +153,21 @@ STATIC inline void S9xUnpackStatus()
ICPU._Overflow = (ICPU.Registers.PL & Overflow) >> 6;
}
-STATIC inline void S9xPackStatus()
+static inline void S9xPackStatus()
{
ICPU.Registers.PL &= ~(Zero | Negative | Carry | Overflow);
ICPU.Registers.PL |= ICPU._Carry | ((ICPU._Zero == 0) << 1) |
(ICPU._Negative & 0x80) | (ICPU._Overflow << 6);
}
-STATIC inline void CLEAR_IRQ_SOURCE(uint32_t M)
+static inline void CLEAR_IRQ_SOURCE(uint32_t M)
{
CPU.IRQActive &= ~M;
if (!CPU.IRQActive)
CPU.Flags &= ~IRQ_PENDING_FLAG;
}
-STATIC inline void S9xFixCycles()
+static inline void S9xFixCycles()
{
if (CheckEmulation())
ICPU.S9xOpcodes = S9xOpcodesE1;
@@ -187,7 +187,7 @@ STATIC inline void S9xFixCycles()
}
}
-STATIC inline void S9xReschedule()
+static inline void S9xReschedule()
{
uint8_t which;
long max;