From 53311c57c4eb1ef7f91dfe87f62323c81d610f7e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 8 Aug 2016 03:51:26 +0200 Subject: Cleanups --- source/apu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/apu.h') diff --git a/source/apu.h b/source/apu.h index 023c1fe..5ea6bb2 100644 --- a/source/apu.h +++ b/source/apu.h @@ -134,14 +134,14 @@ typedef struct SAPU APU; SIAPU IAPU; -STATIC inline void S9xAPUUnpackStatus() +static inline void S9xAPUUnpackStatus(void) { IAPU._Zero = ((IAPU.Registers.P & Zero) == 0) | (IAPU.Registers.P & Negative); IAPU._Carry = (IAPU.Registers.P & Carry); IAPU._Overflow = (IAPU.Registers.P & Overflow) >> 6; } -STATIC inline void S9xAPUPackStatus() +static inline void S9xAPUPackStatus(void) { IAPU.Registers.P &= ~(Zero | Negative | Carry | Overflow); IAPU.Registers.P |= IAPU._Carry | ((IAPU._Zero == 0) << 1) | -- cgit v1.2.3