summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/CommandProcessor.cpp
diff options
context:
space:
mode:
authorayuanx <ayuanx@gmail.com>2010-01-08 22:56:27 +0000
committerayuanx <ayuanx@gmail.com>2010-01-08 22:56:27 +0000
commit81afdbe4f47ae38cc0707e5c824caacd27f1c180 (patch)
tree16b3d56f8fdd5fe7bdfd0b08060310875f2988d7 /Source/Core/VideoCommon/Src/CommandProcessor.cpp
parent6575f9d03a3f8dd47d356ab400b7109e189d2e20 (diff)
Compilation fix for r4795
Nunchuck gravity fix for r4794 (as sanchez instructed) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4797 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/CommandProcessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
index edcc0dc763..2e39d34cfd 100644
--- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
@@ -408,11 +408,11 @@ 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
+ // 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
- UpdateInterrupts(true);
+ if (g_VideoInitialize.bOnThread) UpdateInterrupts(true);
}
INFO_LOG(COMMANDPROCESSOR,"\t write to CTRL_REGISTER : %04x", _Value);