summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dai3wksi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dai3wksi.c')
-rw-r--r--src/mame/drivers/dai3wksi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/dai3wksi.c b/src/mame/drivers/dai3wksi.c
index e249046142b..af119ebe521 100644
--- a/src/mame/drivers/dai3wksi.c
+++ b/src/mame/drivers/dai3wksi.c
@@ -150,7 +150,7 @@ static SCREEN_UPDATE_RGB32( dai3wksi )
}
else
{
- if (input_port_read(screen.machine(), "IN2") & 0x03)
+ if (state->ioport("IN2")->read() & 0x03)
color = vr_prom2[value];
else
color = vr_prom1[value];