From dde2d1a117c3867252a57a1569f35e5b9eb3295b Mon Sep 17 00:00:00 2001 From: Marcos Vitali Date: Mon, 13 Dec 2010 04:44:33 +0000 Subject: [PATCH] Before my second part, little fixes :D 1) I was wrong the games can use also BP and BP int in multi buffer mode or or at least Pokemon XD can hehehe. Pokemon is booting again but this game also need accurate AbortFrame dont care about "GFX FIFO: Unknown Opcode" in this case 2) Fixed a stupid error in UpdateInterrupts (CUT&PASTE mistake) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6570 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/CommandProcessor.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp index f9bf7d26a7..71c408be1c 100644 --- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp @@ -744,12 +744,9 @@ void UpdateInterrupts(u64 userdata) } else { - if(!fifo.bFF_Breakpoint) - { - interruptSet = false; - INFO_LOG(COMMANDPROCESSOR,"Interrupt cleared %i %i %i %i", fifo.CPReadPointer, fifo.CPBreakpoint, fifo.CPWritePointer, fifo.CPReadWriteDistance); - g_VideoInitialize.pSetInterrupt(INT_CAUSE_CP, false); - } + interruptSet = false; + INFO_LOG(COMMANDPROCESSOR,"Interrupt cleared"); + g_VideoInitialize.pSetInterrupt(INT_CAUSE_CP, false); } interruptWaiting = false; } @@ -829,7 +826,7 @@ void SetStatus() bool ovfInt = fifo.bFF_HiWatermark && fifo.bFF_HiWatermarkInt; bool undfInt = fifo.bFF_LoWatermark && fifo.bFF_LoWatermarkInt; - bool interrupt = (bpInt || ovfInt || undfInt) && m_CPCtrlReg.GPLinkEnable && m_CPCtrlReg.GPReadEnable; + bool interrupt = (bpInt || ovfInt || undfInt) && m_CPCtrlReg.GPReadEnable; if (interrupt != interruptSet && !interruptWaiting) {