summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/FileMonitor.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-06-16 22:47:10 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2014-06-26 01:48:00 +0000
commita40ae6883a87884c45645f38ac831ffda0597e8d (patch)
tree9691c1cdf61c0dd5d252fe3ce7e0003f4f2be413 /Source/Core/DiscIO/FileMonitor.cpp
parent177658aed609443d43edba87fd28aaf333686f39 (diff)
Move CoreTiming::downcount to PowerPC::ppcState.
This isn't technically the correct place to have the downcount variable, but it is similar to what PPSSPP does to gain a bit of extra speed on ARM. We access this variable quite a bit, with each exit in a block it is subtracted from. On ARM this required four instructions to load and store the value, while now it only requires two. This gives an average of 1FPS gain to most games. Examples: Crazy Taxi: 54FPS -> 55FPS Luigi's Mansion: 20FPS -> 21FPS Wind Waker(Save Screen): 27FPS -> 28FPS This seems to average a 6mhz to 16mhz CPU core emulation improvement in the few games I've tested.
Diffstat (limited to 'Source/Core/DiscIO/FileMonitor.cpp')
0 files changed, 0 insertions, 0 deletions