From 53311c57c4eb1ef7f91dfe87f62323c81d610f7e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 8 Aug 2016 03:51:26 +0200 Subject: Cleanups --- source/sa1.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/sa1.h') diff --git a/source/sa1.h b/source/sa1.h index 92345df..5f3bad1 100644 --- a/source/sa1.h +++ b/source/sa1.h @@ -185,7 +185,7 @@ void S9xSA1ExecuteDuringSleep(); #define TIMER_IRQ_SOURCE (1 << 6) #define DMA_IRQ_SOURCE (1 << 5) -STATIC inline void S9xSA1UnpackStatus() +static inline void S9xSA1UnpackStatus(void) { SA1._Zero = (SA1.Registers.PL & Zero) == 0; SA1._Negative = (SA1.Registers.PL & Negative); @@ -193,14 +193,14 @@ STATIC inline void S9xSA1UnpackStatus() SA1._Overflow = (SA1.Registers.PL & Overflow) >> 6; } -STATIC inline void S9xSA1PackStatus() +static inline void S9xSA1PackStatus(void) { SA1.Registers.PL &= ~(Zero | Negative | Carry | Overflow); SA1.Registers.PL |= SA1._Carry | ((SA1._Zero == 0) << 1) | (SA1._Negative & 0x80) | (SA1._Overflow << 6); } -STATIC inline void S9xSA1FixCycles() +static inline void S9xSA1FixCycles(void) { if (SA1CheckEmulation()) SA1.S9xOpcodes = S9xSA1OpcodesM1X1; -- cgit v1.2.3