summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2011-04-23 12:37:42 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2011-04-23 12:37:42 +0000
commit37c0f8644634d439818e4aaad3e4f30c7143e398 (patch)
tree3c823f2f705092a14ab34d58836c7915618527d9
parent8aa89c205f37a162c7ccc6ebe6ec868a304a4501 (diff)
Removed deprecat.h usage in m90 driver [Angelo Salese]
-rw-r--r--src/mame/drivers/m90.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/m90.c b/src/mame/drivers/m90.c
index 2e52c4ceec6..38c14e857d5 100644
--- a/src/mame/drivers/m90.c
+++ b/src/mame/drivers/m90.c
@@ -19,7 +19,6 @@
#include "emu.h"
#include "cpu/z80/z80.h"
#include "cpu/nec/nec.h"
-#include "deprecat.h"
#include "includes/iremipt.h"
#include "machine/irem_cpu.h"
#include "audio/m72.h"
@@ -722,7 +721,7 @@ static MACHINE_CONFIG_START( m90, m90_state )
MCFG_CPU_ADD("soundcpu", Z80, XTAL_3_579545MHz) /* verified on pcb */
MCFG_CPU_PROGRAM_MAP(m90_sound_cpu_map)
MCFG_CPU_IO_MAP(m90_sound_cpu_io_map)
- MCFG_CPU_VBLANK_INT_HACK(nmi_line_pulse, 128) /* clocked by V1? (Vigilante) */
+ MCFG_CPU_PERIODIC_INT(nmi_line_pulse, 128*60) /* clocked by V1? (Vigilante) */
/* IRQs are generated by main Z80 and YM2151 */
MCFG_MACHINE_START(m90)
@@ -805,7 +804,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( bbmanw, bbmanwj )
MCFG_CPU_MODIFY("soundcpu")
MCFG_CPU_IO_MAP(m99_sound_cpu_io_map)
- MCFG_CPU_VBLANK_INT_HACK(fake_nmi, 128)
+ MCFG_CPU_PERIODIC_INT(fake_nmi, 128*60)
MACHINE_CONFIG_END
@@ -817,7 +816,7 @@ static MACHINE_CONFIG_DERIVED( bomblord, m90 )
MCFG_CPU_MODIFY("soundcpu")
MCFG_CPU_IO_MAP(m99_sound_cpu_io_map)
- MCFG_CPU_VBLANK_INT_HACK(bomblord_fake_nmi, 128)
+ MCFG_CPU_PERIODIC_INT(bomblord_fake_nmi, 128*60)
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_VISIBLE_AREA(10*8, 50*8-1, 17*8, 47*8-1)
@@ -835,7 +834,7 @@ static MACHINE_CONFIG_DERIVED( dynablsb, m90 )
MCFG_CPU_MODIFY("soundcpu")
MCFG_CPU_IO_MAP(dynablsb_sound_cpu_io_map)
- MCFG_CPU_VBLANK_INT_HACK(irq0_line_hold, 64) /* half the sample rate of the original */
+ MCFG_CPU_PERIODIC_INT(irq0_line_hold, 64*60) /* half the sample rate of the original */
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_SIZE(320, 240)