From 3707a0bc17f6a967bf23ecdf335ea4cc4685f020 Mon Sep 17 00:00:00 2001 From: Jean-Philip Desjardins Date: Wed, 17 Jul 2024 14:34:36 -0400 Subject: [PATCH] TEMP: Some speed hacks. --- Source/ee/EeBasicBlock.cpp | 2 +- Source/ee/PS2OS.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/ee/EeBasicBlock.cpp b/Source/ee/EeBasicBlock.cpp index 807400ffd1..6bf0a80e37 100644 --- a/Source/ee/EeBasicBlock.cpp +++ b/Source/ee/EeBasicBlock.cpp @@ -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)); diff --git a/Source/ee/PS2OS.cpp b/Source/ee/PS2OS.cpp index f3ee95ab50..c19df021b3 100644 --- a/Source/ee/PS2OS.cpp +++ b/Source/ee/PS2OS.cpp @@ -1518,6 +1518,7 @@ void CPS2OS::ResumeThread(uint32 threadId) void CPS2OS::UpdateTLBEnabledState() { + return; bool TLBenabled = (m_tlblExceptionHandler != 0) || (m_tlbsExceptionHandler != 0); if(TLBenabled) {