Jit64: Fix BATAddressLookup bit test

BT sets the carry flag, not the zero flag.
This commit is contained in:
JosJuice 2021-08-03 17:06:05 +02:00
parent 627832355e
commit 5bd188d40d
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ FixupBranch EmuCodeBlock::BATAddressLookup(X64Reg addr, X64Reg tmp, const void*
MOV(32, R(addr), MComplex(tmp, addr, SCALE_4, 0));
BT(32, R(addr), Imm8(IntLog2(PowerPC::BAT_MAPPED_BIT)));
return J_CC(CC_Z, m_far_code.Enabled());
return J_CC(CC_NC, m_far_code.Enabled());
}
FixupBranch EmuCodeBlock::CheckIfSafeAddress(const OpArg& reg_value, X64Reg reg_addr,