summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tsamurai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tsamurai.cpp')
-rw-r--r--src/mame/drivers/tsamurai.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/tsamurai.cpp b/src/mame/drivers/tsamurai.cpp
index b7181baf540..e01943368e4 100644
--- a/src/mame/drivers/tsamurai.cpp
+++ b/src/mame/drivers/tsamurai.cpp
@@ -82,7 +82,7 @@ WRITE_LINE_MEMBER(tsamurai_state::nmi_enable_w)
WRITE_LINE_MEMBER(tsamurai_state::vblank_irq)
{
if (state && m_nmi_enabled)
- m_maincpu->set_input_line(INPUT_LINE_NMI, PULSE_LINE);
+ m_maincpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
}
READ8_MEMBER(tsamurai_state::tsamurai_unknown_d803_r)
@@ -311,7 +311,8 @@ WRITE8_MEMBER(tsamurai_state::vsgongf_sound_nmi_enable_w)
INTERRUPT_GEN_MEMBER(tsamurai_state::vsgongf_sound_interrupt)
{
- if (m_vsgongf_sound_nmi_enabled) device.execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
+ if (m_vsgongf_sound_nmi_enabled)
+ device.execute().pulse_input_line(INPUT_LINE_NMI, attotime::zero);
}
/* what are these, protection of some kind? */
@@ -341,7 +342,7 @@ READ8_MEMBER(tsamurai_state::vsgongf_a100_r)
WRITE8_MEMBER(tsamurai_state::vsgongf_sound_command_w)
{
m_soundlatch->write(space, offset, data);
- m_audiocpu->set_input_line(INPUT_LINE_NMI, PULSE_LINE);
+ m_audiocpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
}
void tsamurai_state::vsgongf_map(address_map &map)