Permalink
Browse files

Jit_SystemRegisters: mfmsr

  • Loading branch information...
MerryMage committed Oct 15, 2018
1 parent 5fa6df8 commit 6ff8f9e9911024c2583287301f395924e6c12714
Showing with 3 additions and 4 deletions.
  1. +3 −4 Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp
@@ -432,10 +432,9 @@ void Jit64::mfmsr(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITSystemRegistersOff);
// Privileged?
gpr.Lock(inst.RD);
gpr.BindToRegister(inst.RD, false, true);
MOV(32, gpr.R(inst.RD), PPCSTATE(msr));
gpr.UnlockAll();
RCX64Reg Rd = gpr.Bind(inst.RD, RCMode::Write);
RegCache::Realize(Rd);
MOV(32, Rd, PPCSTATE(msr));
}

void Jit64::mftb(UGeckoInstruction inst)

0 comments on commit 6ff8f9e

Please sign in to comment.