diff options
author | Zsolt Vasvari <zsoltvas@mamedev.org> | 2008-01-24 14:14:21 +0000 |
---|---|---|
committer | Zsolt Vasvari <zsoltvas@mamedev.org> | 2008-01-24 14:14:21 +0000 |
commit | 3815ec44e1cbc224e5bfdd534208d369198703cd (patch) | |
tree | 1c24321d578937ec4b6c9eac8d4650d5c32b9725 /src/mame/drivers/tryout.c | |
parent | f7c5c67e2ef8db35b7171b955f524029b9f75d75 (diff) |
- Changed cpunum_set_input_line* functions to take running_machine as an argument
- Added that fix the arm7dasm, otherwise I couldn't compile the code
Diffstat (limited to 'src/mame/drivers/tryout.c')
-rw-r--r-- | src/mame/drivers/tryout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/tryout.c b/src/mame/drivers/tryout.c index a529b6833ab..b163b609e79 100644 --- a/src/mame/drivers/tryout.c +++ b/src/mame/drivers/tryout.c @@ -29,18 +29,18 @@ extern VIDEO_UPDATE( tryout ); static WRITE8_HANDLER( tryout_nmi_ack_w ) { - cpunum_set_input_line(0, INPUT_LINE_NMI, CLEAR_LINE ); + cpunum_set_input_line(Machine, 0, INPUT_LINE_NMI, CLEAR_LINE ); } static WRITE8_HANDLER( tryout_sound_w ) { soundlatch_w(0,data); - cpunum_set_input_line( 1, 0, PULSE_LINE ); + cpunum_set_input_line(Machine, 1, 0, PULSE_LINE ); } static WRITE8_HANDLER( tryout_sound_irq_ack_w ) { - cpunum_set_input_line( 1, 0, CLEAR_LINE ); + cpunum_set_input_line(Machine, 1, 0, CLEAR_LINE ); } static WRITE8_HANDLER( tryout_bankswitch_w ) @@ -183,7 +183,7 @@ GFXDECODE_END static INTERRUPT_GEN( tryout_interrupt ) { if ((input_port_3_r(0) & 0x1c)!=0x1c) - cpunum_set_input_line(0, INPUT_LINE_NMI, ASSERT_LINE); + cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, ASSERT_LINE); } static MACHINE_DRIVER_START( tryout ) |