diff options
author | Twinaphex | 2017-08-14 07:23:57 +0200 |
---|---|---|
committer | GitHub | 2017-08-14 07:23:57 +0200 |
commit | 262051693823522c34a3e19904bf4ed9f1877e65 (patch) | |
tree | d0dd772a589dbfa07bacd70207fc4db0f37d4109 /source/cpuexec.h | |
parent | 62be8bed4dc3dc7793f1df1391f153436e4ea949 (diff) | |
parent | 5e450063fbe25926ae50d569c285db428055318a (diff) | |
download | snes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.tar.gz snes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.tar.bz2 snes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.zip |
Merge pull request #39 from jamsilva/master
Fixes and cleanups
Diffstat (limited to 'source/cpuexec.h')
-rw-r--r-- | source/cpuexec.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/cpuexec.h b/source/cpuexec.h index 9654d86..3a5075b 100644 --- a/source/cpuexec.h +++ b/source/cpuexec.h @@ -116,10 +116,8 @@ static INLINE void S9xReschedule(void) } if (PPU.HTimerEnabled && - (int32_t) PPU.HTimerPosition < max && - (int32_t) PPU.HTimerPosition > CPU.NextEvent && - (!PPU.VTimerEnabled || - (PPU.VTimerEnabled && CPU.V_Counter == PPU.IRQVBeamPos))) + (int32_t) PPU.HTimerPosition < max && (int32_t) PPU.HTimerPosition > CPU.NextEvent && + (!PPU.VTimerEnabled || (PPU.VTimerEnabled && CPU.V_Counter == PPU.IRQVBeamPos))) { which = (int32_t) PPU.HTimerPosition < Settings.HBlankStart ? HTIMER_BEFORE_EVENT : HTIMER_AFTER_EVENT; max = PPU.HTimerPosition; @@ -127,5 +125,4 @@ static INLINE void S9xReschedule(void) CPU.NextEvent = max; CPU.WhichEvent = which; } - #endif |