summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tryout.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-09 06:21:15 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-09 06:21:15 +0000
commiteb43d347250b70ebbc5e3ec03d21ec727973e643 (patch)
treeb81831a4a21af46f47f8bcbaf5729bab7bf5359c /src/mame/drivers/tryout.c
parent183b7c9de7fdafcd7b24a7acf76d37fa1da3a927 (diff)
Re-routed empty get/set context calls to the dummy CPU's, and removed them
from the CPU cores. Disabled the use of PULSE_LINE for any input lines except NMI and RESET. Added a helper function generic_pulse_irq_line() for doing a single-cycle assert/deassert for those few drivers remaining that were trying to use PULSE_LINE directly.
Diffstat (limited to 'src/mame/drivers/tryout.c')
-rw-r--r--src/mame/drivers/tryout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/tryout.c b/src/mame/drivers/tryout.c
index 7b15369c323..614ad806d45 100644
--- a/src/mame/drivers/tryout.c
+++ b/src/mame/drivers/tryout.c
@@ -36,12 +36,12 @@ static WRITE8_HANDLER( tryout_nmi_ack_w )
static WRITE8_HANDLER( tryout_sound_w )
{
soundlatch_w(space,0,data);
- cpu_set_input_line(space->machine->cpu[1], 0, PULSE_LINE );
+ cpu_set_input_line(space->machine->cpu[1], 0, ASSERT_LINE);
}
static WRITE8_HANDLER( tryout_sound_irq_ack_w )
{
- cpu_set_input_line(space->machine->cpu[1], 0, CLEAR_LINE );
+ cpu_set_input_line(space->cpu, 0, CLEAR_LINE);
}
static WRITE8_HANDLER( tryout_bankswitch_w )