summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nycaptor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nycaptor.c')
-rw-r--r--src/mame/drivers/nycaptor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/nycaptor.c b/src/mame/drivers/nycaptor.c
index 02f29645b24..2f21805cd90 100644
--- a/src/mame/drivers/nycaptor.c
+++ b/src/mame/drivers/nycaptor.c
@@ -233,7 +233,7 @@ READ8_MEMBER(nycaptor_state::nycaptor_b_r)
READ8_MEMBER(nycaptor_state::nycaptor_by_r)
{
- int port = input_port_read(machine(), "LIGHTY");
+ int port = ioport("LIGHTY")->read();
if (m_gametype == 1)
port = 255 - port;
@@ -243,7 +243,7 @@ READ8_MEMBER(nycaptor_state::nycaptor_by_r)
READ8_MEMBER(nycaptor_state::nycaptor_bx_r)
{
- return (input_port_read(machine(), "LIGHTX") + 0x27) | 1;
+ return (ioport("LIGHTX")->read() + 0x27) | 1;
}