summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tryout.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-04-06 22:10:54 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-04-06 22:10:54 +0000
commit99a92aa80a571ab0d357a94ae05a7923ed5fcafa (patch)
tree4b0c498e5a7a894aeeded9ceb41ffb227c608eb6 /src/mame/drivers/tryout.c
parent8a914b3d22703ab8570fd441b8ebc22c04d91a23 (diff)
Bulk converted drivers explicitly calling input_port_n_r() with a bogus
offset to calling input_port_read_indexed() instead.
Diffstat (limited to 'src/mame/drivers/tryout.c')
-rw-r--r--src/mame/drivers/tryout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/tryout.c b/src/mame/drivers/tryout.c
index 0fc09475efe..741de7bb721 100644
--- a/src/mame/drivers/tryout.c
+++ b/src/mame/drivers/tryout.c
@@ -183,7 +183,7 @@ GFXDECODE_END
static INTERRUPT_GEN( tryout_interrupt )
{
- if ((input_port_3_r(machine,0) & 0x1c)!=0x1c)
+ if ((input_port_read_indexed(machine, 3) & 0x1c)!=0x1c)
cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, ASSERT_LINE);
}