summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author mamesick <mamesick@libero.it>2015-07-06 08:11:06 +0200
committer mamesick <mamesick@libero.it>2015-07-06 08:11:06 +0200
commita5a580b16b0512d97c1d26987aafdf4b776c4b35 (patch)
tree916416b354fd33375b35bc56d2f19b9105f46ccf
parent995ece306b676d4bb7df6307244b537a7de51c21 (diff)
Fix for MAMETESTERS bug #05959
This simple line change fixes the missing sound bug in KYROS and SSTINGRY (which was not reported in the bug). There's no more need to doubling audio CPU interrupts per frame after the conversion of the driver to the usage of scanline timers. Sorry for opened and closed this request multiple times, I'm learning how to GIT works just now. Thanks.
-rw-r--r--src/mame/drivers/alpha68k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/alpha68k.c b/src/mame/drivers/alpha68k.c
index 26c1c904fff..bcc51a934e8 100644
--- a/src/mame/drivers/alpha68k.c
+++ b/src/mame/drivers/alpha68k.c
@@ -1924,7 +1924,7 @@ static MACHINE_CONFIG_START( sstingry, alpha68k_state )
MCFG_CPU_ADD("audiocpu", Z80, 3579545)
MCFG_CPU_PROGRAM_MAP(sstingry_sound_map)
MCFG_CPU_IO_MAP(kyros_sound_portmap)
- MCFG_CPU_PERIODIC_INT_DRIVER(alpha68k_state, irq0_line_hold, 2*60)
+ MCFG_CPU_VBLANK_INT_DRIVER("screen", alpha68k_state, irq0_line_hold)
MCFG_CPU_PERIODIC_INT_DRIVER(alpha68k_state, nmi_line_pulse, 4000)
MCFG_CPU_ADD("mcu", I8748, 9263750) /* 9.263750 MHz oscillator, divided by 3*5 internally */
@@ -1978,7 +1978,7 @@ static MACHINE_CONFIG_START( kyros, alpha68k_state )
MCFG_CPU_ADD("audiocpu", Z80, XTAL_24MHz/6) /* Verified on bootleg PCB */
MCFG_CPU_PROGRAM_MAP(kyros_sound_map)
MCFG_CPU_IO_MAP(kyros_sound_portmap)
- MCFG_CPU_PERIODIC_INT_DRIVER(alpha68k_state, irq0_line_hold, 2*60)
+ MCFG_CPU_VBLANK_INT_DRIVER("screen", alpha68k_state, irq0_line_hold)
MCFG_CPU_PERIODIC_INT_DRIVER(alpha68k_state, nmi_line_pulse, 4000)
MCFG_MACHINE_START_OVERRIDE(alpha68k_state,common)