summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorbooto <remornicus@gmail.com>2018-05-14 20:15:21 -0400
committerbooto <remornicus@gmail.com>2018-05-14 20:49:13 -0400
commitc880302c6bd7549182a7a75e9bf0d253e82e687f (patch)
tree394c1065cadf9b067cf8022bebf6ac23150b1bbb /Source/Core/VideoCommon/TextureCacheBase.cpp
parent3cca05185029ae4572529bf986675c772cc0ac5a (diff)
Prevent paired singles routines clobbering PC,SRR0
Paired single (ps) instructions can call asm_routines that try to update PowerPC::ppcState.pc. At the time the asm_routine is built, emulation has not started and the PC is invalid (0). If the ps instruction causes an exception (e.g. DSI), SRR0 gets clobbered with the invalid PC. This change makes the relevant ps instructions store PC before calling out to asm_routines, and prevents the asm_routine from trying to store PC itself.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions