mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Jit_SystemRegisters: mfmsr
This commit is contained in:
@ -432,10 +432,9 @@ void Jit64::mfmsr(UGeckoInstruction inst)
|
|||||||
INSTRUCTION_START
|
INSTRUCTION_START
|
||||||
JITDISABLE(bJITSystemRegistersOff);
|
JITDISABLE(bJITSystemRegistersOff);
|
||||||
// Privileged?
|
// Privileged?
|
||||||
gpr.Lock(inst.RD);
|
RCX64Reg Rd = gpr.Bind(inst.RD, RCMode::Write);
|
||||||
gpr.BindToRegister(inst.RD, false, true);
|
RegCache::Realize(Rd);
|
||||||
MOV(32, gpr.R(inst.RD), PPCSTATE(msr));
|
MOV(32, Rd, PPCSTATE(msr));
|
||||||
gpr.UnlockAll();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Jit64::mftb(UGeckoInstruction inst)
|
void Jit64::mftb(UGeckoInstruction inst)
|
||||||
|
Reference in New Issue
Block a user