summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/CommandProcessor.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2013-03-26 08:23:20 +1100
committerskidau <skidau@gmail.com>2013-03-26 08:23:20 +1100
commit0ccaaee38c0d21212668ed9e7741feb84c91c365 (patch)
treeee2054b7e8b00014d0e0e652be63195936908528 /Source/Core/VideoCommon/Src/CommandProcessor.cpp
parentdfa1845ae1b252bd61a9daa989cab4daf53dbdb4 (diff)
Forced the exception check only for ARAM DMA transfers.
Removed the Eternal Darkness boot hack and replaced it with an exception check.
Diffstat (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/CommandProcessor.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
index 71b4591bf7..dacec67823 100644
--- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
@@ -642,14 +642,11 @@ void SetCpStatusRegister()
void SetCpControlRegister()
{
- // If the new fifo is being attached We make sure there wont be SetFinish event pending.
- // This protection fix eternal darkness booting, because the second SetFinish event when it is booting
- // seems invalid or has a bug and hang the game.
-
+ // If the new fifo is being attached, force an exception check
+ // This fixes the hang while booting Eternal Darkness
if (!fifo.bFF_GPReadEnable && m_CPCtrlReg.GPReadEnable && !m_CPCtrlReg.BPEnable)
{
- ProcessFifoEvents();
- PixelEngine::ResetSetFinish();
+ CoreTiming::ForceExceptionCheck(0);
}
fifo.bFF_BPInt = m_CPCtrlReg.BPInt;