Skip to content

Commit

Permalink
sc instruction: Make sure the rt register is mapped. Fixes Beats.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Sep 11, 2023
1 parent 57edb9f commit accd9b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/MIPS/x86/CompLoadStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ namespace MIPSComp {
skipStore = J_CC(CC_NE);

CompITypeMemWrite(op, 32, safeMemFuncs.writeU32);
gpr.MapReg(rt, true, true);
MOV(32, gpr.R(rt), Imm32(1));
finish = J();

Expand Down

0 comments on commit accd9b1

Please sign in to comment.