In the Interpreter, marked mtmsr as an "end of block" instruction, making it consistent with the JIT tables.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4849 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fa5823ad9a
commit
efe20c93e8
|
@ -236,6 +236,7 @@ void mtmsr(UGeckoInstruction _inst)
|
||||||
{
|
{
|
||||||
// Privileged?
|
// Privileged?
|
||||||
MSR = m_GPR[_inst.RS];
|
MSR = m_GPR[_inst.RS];
|
||||||
|
m_EndBlock = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Segment registers. MMU control.
|
// Segment registers. MMU control.
|
||||||
|
@ -264,8 +265,8 @@ void mtsrin(UGeckoInstruction _inst)
|
||||||
void mftb(UGeckoInstruction _inst)
|
void mftb(UGeckoInstruction _inst)
|
||||||
{
|
{
|
||||||
int iIndex = (_inst.TBR >> 5) | ((_inst.TBR & 0x1F) << 5);
|
int iIndex = (_inst.TBR >> 5) | ((_inst.TBR & 0x1F) << 5);
|
||||||
if (iIndex == 268) m_GPR[_inst.RD] = TL;
|
if (iIndex == SPR_TL) m_GPR[_inst.RD] = TL;
|
||||||
else if (iIndex == 269) m_GPR[_inst.RD] = TU;
|
else if (iIndex == SPR_TU) m_GPR[_inst.RD] = TU;
|
||||||
else _dbg_assert_(POWERPC, 0);
|
else _dbg_assert_(POWERPC, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue