mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Fix some issues.
This commit is contained in:
parent
c7800c57c0
commit
fe4014f2b3
1 changed files with 9 additions and 5 deletions
|
@ -578,7 +578,8 @@ void CCOP_VU::VCALLMS()
|
|||
m_codeGen->PushCst(static_cast<uint32>(m_nImm15) * 8);
|
||||
m_codeGen->PullRel(offsetof(CMIPS, m_State.callMsAddr));
|
||||
|
||||
m_codeGen->Call(reinterpret_cast<void*>(&FastExecMs), 0, Jitter::CJitter::RETURN_VALUE_NONE);
|
||||
m_codeGen->PushCtx();
|
||||
m_codeGen->Call(reinterpret_cast<void*>(&FastExecMs), 1, Jitter::CJitter::RETURN_VALUE_NONE);
|
||||
|
||||
//m_codeGen->PushCst(MIPS_EXCEPTION_CALLMS);
|
||||
//m_codeGen->PullRel(offsetof(CMIPS, m_State.nHasException));
|
||||
|
@ -587,15 +588,18 @@ void CCOP_VU::VCALLMS()
|
|||
//39
|
||||
void CCOP_VU::VCALLMSR()
|
||||
{
|
||||
m_codeGen->PushCst(1);
|
||||
m_codeGen->PullRel(offsetof(CMIPS, m_State.callMsEnabled));
|
||||
//m_codeGen->PushCst(1);
|
||||
//m_codeGen->PullRel(offsetof(CMIPS, m_State.callMsEnabled));
|
||||
|
||||
m_codeGen->PushRel(offsetof(CMIPS, m_State.cmsar0));
|
||||
m_codeGen->Shl(3);
|
||||
m_codeGen->PullRel(offsetof(CMIPS, m_State.callMsAddr));
|
||||
|
||||
m_codeGen->PushCst(MIPS_EXCEPTION_CALLMS);
|
||||
m_codeGen->PullRel(offsetof(CMIPS, m_State.nHasException));
|
||||
m_codeGen->PushCtx();
|
||||
m_codeGen->Call(reinterpret_cast<void*>(&FastExecMs), 1, Jitter::CJitter::RETURN_VALUE_NONE);
|
||||
|
||||
//m_codeGen->PushCst(MIPS_EXCEPTION_CALLMS);
|
||||
//m_codeGen->PullRel(offsetof(CMIPS, m_State.nHasException));
|
||||
}
|
||||
|
||||
//3C
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue