summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-12-21 21:26:48 +0100
committerJosJuice <josjuice@gmail.com>2021-12-21 21:29:55 +0100
commitb6395a7c49bac049c8f1adf78555fbd15fe196dd (patch)
tree1fd28adff4a19f62bc57d45f605f2de2056a6069 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent820a424dcdf0095cf088abea921aaaac299dbccc (diff)
PPCAnalyst: Don't treat blr as writing to CR
This piece of code is rather hard to understand, but my best guess at what it's trying to do is that it tries to create opportunities to skip writing CRs back to ppcState if we know that there are no CR instructions (or branch instructions, etc) between an instruction that writes to a CR register and the next blr. This is technically inaccurate emulation, but as long as games don't do anything too weird with their ABIs, I suppose it doesn't break anything. So why do I want to get rid of it? Well, other than breaking some hypothetical weird game, I imagine it could trip up people trying to debug a game who are looking at the CR contents. And the code is just plain confusing. (blr clearly doesn't write to CRs!)
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions