summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-11-02 15:46:40 +0100
committerJosJuice <josjuice@gmail.com>2025-11-16 09:50:31 +0100
commit502b48a690ece557c1c2c6eeff746d11ab0f6534 (patch)
treea8a7b0878601e9275989219ab05438c6f7042e87 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp
parent7065b93ba557513ecf9365eff8e1db9aaa41c77e (diff)
JitArm64: Make FlushRegisters unlock condition more robust
To find out whether a host register needs to be unlocked, FlushRegisters checks if the guest register is known to be a zero immediate. This works right now, but it will stop working correctly once we gain the ability to have a guest register be a known immediate and be in a host register at the same time, because a register that's known to be a zero immediate may have had a host register allocated prior to the call to FlushRegisters. Instead, we should check whether the register is RegType::Register after we're done calling BindForRead.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/FBInfo.cpp')
0 files changed, 0 insertions, 0 deletions