summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorayuanx <ayuanx@gmail.com>2010-01-13 09:03:55 +0000
committerayuanx <ayuanx@gmail.com>2010-01-13 09:03:55 +0000
commitecdcffc7cf8ddb24da12f7359c8e4096c16b1f17 (patch)
tree371abe618910158241e2b397eb1cadd316116bc9 /Source/Core/VideoCommon
parent1e2f7c89c3b9218490912bf8f080ecea7598a5ee (diff)
Fixes Issue 1997
This also makes the CP FIFO hack obsolete. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4821 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/CommandProcessor.cpp5
-rw-r--r--Source/Core/VideoCommon/Src/Fifo.cpp4
2 files changed, 1 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
index 2e39d34cfd..dff94e2184 100644
--- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
@@ -408,11 +408,6 @@ void Write16(const u16 _Value, const u32 _Address)
{
// Clear old BP and initiate new BP
Common::AtomicStore(fifo.bFF_Breakpoint, 0);
- // AyuanX: The following is a hack for dual core
- // There is definitely some initialization problem with Dolphin (not found exact location yet)
- // Which prevents Metroid Prime 2 from first time booting (If you boot some other GC game first then MP2 can boot)
- // But somehow this instant BP hack can make MP2 boot even at first time
- if (g_VideoInitialize.bOnThread) UpdateInterrupts(true);
}
INFO_LOG(COMMANDPROCESSOR,"\t write to CTRL_REGISTER : %04x", _Value);
diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp
index c01a9d94b3..172d6095fa 100644
--- a/Source/Core/VideoCommon/Src/Fifo.cpp
+++ b/Source/Core/VideoCommon/Src/Fifo.cpp
@@ -169,9 +169,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
)
{
Common::AtomicStore(_fifo.bFF_Breakpoint, 1);
- // Replaced by instant BP hack
- // TODO: figure out why the correct trigger method doesn't work for MP2
- //CommandProcessor::UpdateInterruptsFromVideoPlugin(true);
+ CommandProcessor::UpdateInterruptsFromVideoPlugin(true);
break;
}
distToSend = 32;