From 546d79bf4d341870fdb54e7fc18bf4d75091ae93 Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Wed, 2 Dec 2009 14:46:15 +0000 Subject: [PATCH] yay sif hack mess fix git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2287 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/R3000A.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pcsx2/R3000A.cpp b/pcsx2/R3000A.cpp index a98c2aaf65..f77e101287 100644 --- a/pcsx2/R3000A.cpp +++ b/pcsx2/R3000A.cpp @@ -275,8 +275,7 @@ __releaseinline void psxBranchTest() // thread sleep hangs and allow the IOP to "come back to life." psxRegs.interrupt &= ~IopEvt_SIFhack; } -#ifdef IOP_ENABLE_SIF_HACK - else if( !(psxRegs.interrupt & IopEvt_SIFhack) ) + else if( IOP_ENABLE_SIF_HACK && (psxRegs.interrupt & IopEvt_SIFhack) ) { // Safeguard: since we're not executing an exception vector, we should schedule a SIF wakeup // just in case. @@ -286,9 +285,8 @@ __releaseinline void psxBranchTest() // location and only schedule a SIF fix when it's detected... But for now this is easy and gives // us good control over testing parameters...) - PSX_INT( IopEvt_SIFhack, 128 ); + PSX_INT( IopEvt_SIFhack, 64 ); } -#endif } void iopTestIntc()