Merge pull request #10871 from unknownbrackets/arm64jit

arm64jit: Fix reg size in jr delay slot path
This commit is contained in:
Henrik Rydgård 2018-04-04 16:48:09 +02:00 committed by GitHub
commit fea97f2bc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)