aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.h
diff options
context:
space:
mode:
authorJoão Silva2017-08-14 06:03:05 +0100
committerJoão Silva2017-08-14 06:03:05 +0100
commit5e450063fbe25926ae50d569c285db428055318a (patch)
treed0dd772a589dbfa07bacd70207fc4db0f37d4109 /source/cpuexec.h
parentfdaf2925f1353b07cd957ae47b0e6793648559be (diff)
downloadsnesemu-5e450063fbe25926ae50d569c285db428055318a.tar.gz
snesemu-5e450063fbe25926ae50d569c285db428055318a.tar.bz2
snesemu-5e450063fbe25926ae50d569c285db428055318a.zip
Deleted several unused variables, code and files.
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