summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2009-04-14 21:33:44 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2009-04-14 21:33:44 +0000
commit94a572c278cf7f219ce20579ae008beca2e2575a (patch)
treea3fe1b1de0cc7253bd925de8b03f5a7754c1c432
parent2462302e547d0ec406173163ea698f0b524f1cd1 (diff)
Temporary reverted the last fix since it breaks other games...
-rw-r--r--src/mame/machine/dc.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mame/machine/dc.c b/src/mame/machine/dc.c
index f2623a08c84..977cb82e3ef 100644
--- a/src/mame/machine/dc.c
+++ b/src/mame/machine/dc.c
@@ -19,6 +19,8 @@
#define DEBUG_MAPLE (0)
#define DEBUG_MAPLE_REGS (0)
+#define ENABLE_MAPLE_IRQ (0)
+
#if DEBUG_SYSCTRL
static const char *const sysctrl_names[] =
{
@@ -719,6 +721,11 @@ WRITE64_HANDLER( dc_maple_w )
if (endflag)
{
+ #if ENABLE_MAPLE_IRQ
+ /*TODO: this fixes moeru but breaks other games, understand why.*/
+ dc_sysctrl_regs[SB_ISTNRM] |= IST_DMA_MAPLE;
+ dc_update_interrupt_status(space->machine);
+ #endif
break;
}
// skip fixed packet header
@@ -727,8 +734,6 @@ WRITE64_HANDLER( dc_maple_w )
dat += (length + 1) * 4;
} // do transfers
maple_regs[reg] = 0;
- dc_sysctrl_regs[SB_ISTNRM] |= IST_DMA_MAPLE;
- dc_update_interrupt_status(space->machine);
}
else
{