mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
arm64: Oops, fix flushing zero from an armreg.
This commit is contained in:
@@ -208,6 +208,7 @@ void Arm64Jit::CompType3(MIPSGPReg rd, MIPSGPReg rs, MIPSGPReg rt, void (ARM64XE
|
||||
return;
|
||||
}
|
||||
// If rd is rhs, we may have lost it in the MapDirtyIn(). lhs was kept.
|
||||
// This means the rhsImm value was never flushed to rhs, and would be garbage.
|
||||
if (rd == rhs) {
|
||||
// Luckily, it was just an imm.
|
||||
gpr.SetImm(rhs, rhsImm);
|
||||
|
||||
Reference in New Issue
Block a user