From c3fadd966ae2a65a683d6cc0b07a26c2980f6bbd Mon Sep 17 00:00:00 2001 From: João Silva Date: Sun, 12 Feb 2017 22:16:10 +0000 Subject: Fixed stupid mistake that broke some games. Other minor changes. --- source/cpuexec.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/cpuexec.h') diff --git a/source/cpuexec.h b/source/cpuexec.h index 6d738dd..d6a1db0 100644 --- a/source/cpuexec.h +++ b/source/cpuexec.h @@ -120,8 +120,7 @@ static inline void S9xReschedule() (!PPU.VTimerEnabled || (PPU.VTimerEnabled && CPU.V_Counter == PPU.IRQVBeamPos))) { - which = (int32_t) PPU.HTimerPosition < Settings.HBlankStart ? - HTIMER_BEFORE_EVENT : HTIMER_AFTER_EVENT; + which = (int32_t) PPU.HTimerPosition < Settings.HBlankStart ? HTIMER_BEFORE_EVENT : HTIMER_AFTER_EVENT; max = PPU.HTimerPosition; } CPU.NextEvent = max; -- cgit v1.2.3