mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Fixed an overflow bug in Jit64.
This commit is contained in:
parent
a42fb80f6a
commit
855ad6f1d3
1 changed files with 1 additions and 1 deletions
|
@ -1058,7 +1058,7 @@ void EmuCodeBlock::SetFPRF(Gen::X64Reg xmm)
|
|||
void EmuCodeBlock::JitGetAndClearCAOV(bool oe)
|
||||
{
|
||||
if (oe)
|
||||
AND(8, PPCSTATE(xer_so_ov), Imm32(~XER_OV_MASK)); //XER.OV = 0
|
||||
AND(8, PPCSTATE(xer_so_ov), Imm8(~XER_OV_MASK)); //XER.OV = 0
|
||||
SHR(8, PPCSTATE(xer_ca), Imm8(1)); //carry = XER.CA, XER.CA = 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue