aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cpuexec.h')
-rw-r--r--source/cpuexec.h7
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