From 08623978b11f6d1f4371dded7b8e6a7b52b7b2b6 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Fri, 29 Oct 2010 16:11:02 +0000 Subject: [PATCH] Hackfix the Mana Khemia 1 "off campus" problem. No one is sure yet how it actually works on the real console though. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3982 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/IPU/IPU.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pcsx2/IPU/IPU.cpp b/pcsx2/IPU/IPU.cpp index ef90f46ee7..0f3c15bc4f 100644 --- a/pcsx2/IPU/IPU.cpp +++ b/pcsx2/IPU/IPU.cpp @@ -905,7 +905,9 @@ __noinline void IPUWorker() ipuRegs.cmd.BUSY = 0; // CHECK!: IPU0dma remains when IDEC is done, so we need to clear it - //IPU_INT0_FROM(); + // Check Mana Khemia 1 "off campus" to trigger a GUST IDEC messup. + // This hackfixes it :/ + if (ipu0dma.qwc > 0 && ipu0dma.chcr.STR) ipu0Interrupt(); break; case SCE_IPU_BDEC: