summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tugboat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tugboat.cpp')
-rw-r--r--src/mame/drivers/tugboat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/tugboat.cpp b/src/mame/drivers/tugboat.cpp
index d346d2a1234..10cf8557f15 100644
--- a/src/mame/drivers/tugboat.cpp
+++ b/src/mame/drivers/tugboat.cpp
@@ -364,7 +364,6 @@ GFXDECODE_END
MACHINE_CONFIG_START(tugboat_state::tugboat)
MCFG_CPU_ADD("maincpu", M6502, 2000000) /* 2 MHz ???? */
MCFG_CPU_PROGRAM_MAP(main_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", tugboat_state, nmi_line_pulse)
MCFG_DEVICE_ADD("pia0", PIA6821, 0)
MCFG_PIA_READPA_HANDLER(READ8(tugboat_state,input_r))
@@ -379,6 +378,7 @@ MACHINE_CONFIG_START(tugboat_state::tugboat)
MCFG_SCREEN_VISIBLE_AREA(1*8,31*8-1,2*8,30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(tugboat_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", INPUT_LINE_NMI))
MCFG_GFXDECODE_ADD("gfxdecode", "palette", tugboat)
MCFG_PALETTE_ADD("palette", 256)