TEMP: Some speed hacks.

This commit is contained in:
Jean-Philip Desjardins 2024-07-17 14:34:36 -04:00
parent 881acde51c
commit 3707a0bc17
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@
void CEeBasicBlock::CompileEpilog(CMipsJitter* jitter, bool loopsOnItself)
{
if(IsIdleLoopBlock())
if(IsIdleLoopBlock() || (m_begin == 0x0053D318))
{
jitter->PushCst(MIPS_EXCEPTION_IDLE);
jitter->PullRel(offsetof(CMIPS, m_State.nHasException));

View file

@ -1518,6 +1518,7 @@ void CPS2OS::ResumeThread(uint32 threadId)
void CPS2OS::UpdateTLBEnabledState()
{
return;
bool TLBenabled = (m_tlblExceptionHandler != 0) || (m_tlbsExceptionHandler != 0);
if(TLBenabled)
{