From 9f6dd239b62078a70f3c472cc2cae6c287781b8c Mon Sep 17 00:00:00 2001 From: Marcos Vitali Date: Fri, 3 Dec 2010 01:29:43 +0000 Subject: [PATCH] Possible FIX to randoms hangs, this correction in the clause fifo.bFF_Breakpoint=false fix hangs in WII Music, I don't have WII sport resort, etc. Please test games with fifo hangs (FPS:0 VPS:99) in yours PC again. :D git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6507 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/CommandProcessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp index 89aadc1448..cc683a362a 100644 --- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp @@ -403,8 +403,8 @@ void Write16(const u16 _Value, const u32 _Address) m_CPCtrlReg.Hex = tmpCtrl.Hex; u32 tmpFifoGPReadEnable = fifo.bFF_GPReadEnable; - if(fifo.bFF_GPReadEnable && !fifo.bFF_BPInt) - Common::AtomicStore(fifo.bFF_Breakpoint, false); + if((fifo.bFF_GPReadEnable && !tmpCtrl.GPReadEnable) || (fifo.bFF_BPInt && !tmpCtrl.BPInt)) + Common::AtomicStore(fifo.bFF_Breakpoint, false); if (tmpCtrl.FifoUnderflowIntEnable) Common::AtomicStore(fifo.CPReadIdle, false);