summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-11-17 20:00:36 +0100
committerJosJuice <josjuice@gmail.com>2025-11-17 20:00:36 +0100
commit49e9cd42d450ae6252439559c5f385e70a3c0f18 (patch)
treeaca0d240fb83b63c99397ee602e5de445780bf24 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent56532c850f0f00a129207fae1d2ef6867b51d9cc (diff)
JitArm64: Call GetImm before BindToRegister in subfcx
When BindToRegister is called, the register cache marks the relevant guest register as no longer containing an immediate. However, subfcx was calling GetImm after BindToRegister. This led to a lot of panic alerts after 2995aa5be4 added an assert to GetImm to check that the passed-in register is an immediate. Both before and after 2995aa5be4, the actual value of the immediate wasn't overwritten by BindForRegister, only the fact that the register is an immediate. Because of this, the emitted code happened to work correctly.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions