summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/dc.c
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2012-03-26 19:08:58 +0000
committer Olivier Galibert <galibert@pobox.com>2012-03-26 19:08:58 +0000
commite1914d74e000c7a0c1551bb83741db586dae3e88 (patch)
tree8d3eef0fe02c0dd2b0a32db30cc4cd04d65060cf /src/mame/machine/dc.c
parentccedc2416f4abbba050f12a1532101a1462c5ec7 (diff)
dc: Fix the maple hookup and controllers and add the missing maple irq [O. Galibert]
Diffstat (limited to 'src/mame/machine/dc.c')
-rw-r--r--src/mame/machine/dc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mame/machine/dc.c b/src/mame/machine/dc.c
index ba1e5e4dd69..050349132b8 100644
--- a/src/mame/machine/dc.c
+++ b/src/mame/machine/dc.c
@@ -102,6 +102,14 @@ void naomi_g1_irq(running_machine &machine)
dc_update_interrupt_status(machine);
}
+void dc_maple_irq(running_machine &machine)
+{
+ dc_state *state = machine.driver_data<dc_state>();
+
+ state->dc_sysctrl_regs[SB_ISTNRM] |= IST_DMA_MAPLE;
+ dc_update_interrupt_status(machine);
+}
+
static TIMER_CALLBACK( ch2_dma_irq )
{
dc_state *state = machine.driver_data<dc_state>();