diff options
| author | Marcos Vitali <marcosvitali@gmail.com> | 2010-12-03 01:29:43 +0000 |
|---|---|---|
| committer | Marcos Vitali <marcosvitali@gmail.com> | 2010-12-03 01:29:43 +0000 |
| commit | 9f6dd239b62078a70f3c472cc2cae6c287781b8c (patch) | |
| tree | 98d09ac5b2ef6ccc3bdb68f648baf25eb2ae95ad /Source/Core/VideoCommon/Src/CommandProcessor.cpp | |
| parent | 8f035ae40a39bba6e7ab4c65077b97806d535c7c (diff) | |
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
Diffstat (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/CommandProcessor.cpp | 4 |
1 files 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); |
