arm64jit: Fix reg size in jr delay slot path.

Can't use the 64-bit reg.
This commit is contained in:
Unknown W. Brackets 2018-04-04 06:56:57 -07:00
parent d3164d77d4
commit 4861cadb79

View file

@ -576,7 +576,7 @@ void Arm64Jit::Comp_JumpReg(MIPSOpcode op)
} else {
// Since we can't be in a delay slot, should be safe to steal FLAGTEMPREG for a temp reg.
// It will be saved, even if a function is called.
destReg = FLAGTEMPREG;
destReg = DecodeReg(FLAGTEMPREG);
gpr.MapReg(rs);
MOV(destReg, gpr.R(rs));
if (andLink)