summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorFiora <fioraaeterna@gmail.com>2015-01-02 18:34:10 -0800
committerFiora <fioraaeterna@gmail.com>2015-01-05 10:45:59 -0800
commit8903df7300fd76ca7202e884032107f2fb0b8734 (patch)
treec4ba80199c25b2a2feb6c88c11245416842fc452 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent53b44ccb3a13435a17734a9f832d95933bfabea2 (diff)
MMU: simplify code to restore original data register after failed load
Instead of passing the value around constantly, just store it in the regcache, note where it is, and restore it on the exception path. This saves a whole bunch of pushing and popping and gives a ~5% speed boost in Rebel Strike. It's a bit ugly, but it simplifies a lot of code and is faster, too.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions