aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.h
diff options
context:
space:
mode:
authormeepingsnesroms2017-02-12 16:02:24 -0800
committerGitHub2017-02-12 16:02:24 -0800
commitd9b7722019987cb3331ab3ec3fcf364c82145177 (patch)
tree34346e131ec88be8715ceb44b1c984de44d6f8e9 /source/cpuexec.h
parent474a67ccdccb89d369c706347085ca4619f0cbef (diff)
parentc3fadd966ae2a65a683d6cc0b07a26c2980f6bbd (diff)
downloadsnes9x2005-d9b7722019987cb3331ab3ec3fcf364c82145177.tar.gz
snes9x2005-d9b7722019987cb3331ab3ec3fcf364c82145177.tar.bz2
snes9x2005-d9b7722019987cb3331ab3ec3fcf364c82145177.zip
Merge pull request #32 from jamsilva/master
Fixed stupid mistake that broke some games. Other minor changes.
Diffstat (limited to 'source/cpuexec.h')
-rw-r--r--source/cpuexec.h3
1 files changed, 1 insertions, 2 deletions
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;