summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/canyon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/canyon.c')
-rw-r--r--src/mame/video/canyon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/canyon.c b/src/mame/video/canyon.c
index eba833902ab..18371d7d7b6 100644
--- a/src/mame/video/canyon.c
+++ b/src/mame/video/canyon.c
@@ -83,7 +83,7 @@ SCREEN_UPDATE_IND16( canyon )
draw_bombs(screen.machine(), bitmap, cliprect);
/* watchdog is disabled during service mode */
- screen.machine().watchdog_enable(!(input_port_read(screen.machine(), "IN2") & 0x10));
+ screen.machine().watchdog_enable(!(screen.machine().root_device().ioport("IN2")->read() & 0x10));
return 0;
}