diff options
author | twinaphex | 2016-08-08 03:51:26 +0200 |
---|---|---|
committer | twinaphex | 2016-08-08 03:51:26 +0200 |
commit | 53311c57c4eb1ef7f91dfe87f62323c81d610f7e (patch) | |
tree | 3c9833e2d0f3a84ea6fdf594d804bbc7b448496a /source/apu.h | |
parent | c2e0540fecb7ce6ac11362cc77cf12aa60656516 (diff) | |
download | snes9x2005-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.tar.gz snes9x2005-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.tar.bz2 snes9x2005-53311c57c4eb1ef7f91dfe87f62323c81d610f7e.zip |
Cleanups
Diffstat (limited to 'source/apu.h')
-rw-r--r-- | source/apu.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |