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:
skidau 2010-01-16 04:43:07 +00:00
parent fa5823ad9a
commit efe20c93e8
1 changed files with 3 additions and 2 deletions

View File

@ -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);
} }