Skip to content

Commit

Permalink
TEMP: Some speed hacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed Jul 17, 2024
1 parent 881acde commit 3707a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ee/EeBasicBlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 1 addition & 0 deletions Source/ee/PS2OS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1518,6 +1518,7 @@ void CPS2OS::ResumeThread(uint32 threadId)

void CPS2OS::UpdateTLBEnabledState()
{
return;
bool TLBenabled = (m_tlblExceptionHandler != 0) || (m_tlbsExceptionHandler != 0);
if(TLBenabled)
{
Expand Down

0 comments on commit 3707a0b

Please sign in to comment.