From a5a580b16b0512d97c1d26987aafdf4b776c4b35 Mon Sep 17 00:00:00 2001 From: mamesick Date: Mon, 6 Jul 2015 08:11:06 +0200 Subject: [PATCH] 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. --- src/mame/drivers/alpha68k.c | 4 ++-- 1 file 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)