summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gottlieb.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-09-16 20:33:06 +1000
committer Vas Crabb <vas@vastheman.com>2018-09-16 20:33:06 +1000
commit127949063b16f5b1cedd067f873daeb5597c9568 (patch)
tree73f252b39e7836b5c73e00262ef28c0f14a604cc /src/mame/drivers/gottlieb.cpp
parentce3deb056d83a8f20b0e7a6389e4f409fdf35a2f (diff)
(nw) tie up some loose ends - in particular, allow watchdog timer to
take any tag-like for the screen tag rather than only C strings
Diffstat (limited to 'src/mame/drivers/gottlieb.cpp')
-rw-r--r--src/mame/drivers/gottlieb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gottlieb.cpp b/src/mame/drivers/gottlieb.cpp
index 71ed01d774f..850166a8ae1 100644
--- a/src/mame/drivers/gottlieb.cpp
+++ b/src/mame/drivers/gottlieb.cpp
@@ -1776,10 +1776,10 @@ MACHINE_CONFIG_START(gottlieb_state::gottlieb_core)
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
- WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 16);
+ WATCHDOG_TIMER(config, "watchdog").set_vblank_count(m_screen, 16);
/* video hardware */
- MCFG_SCREEN_ADD("screen", RASTER)
+ MCFG_SCREEN_ADD(m_screen, RASTER)
MCFG_SCREEN_RAW_PARAMS(SYSTEM_CLOCK/4, GOTTLIEB_VIDEO_HCOUNT, 0, GOTTLIEB_VIDEO_HBLANK, GOTTLIEB_VIDEO_VCOUNT, 0, GOTTLIEB_VIDEO_VBLANK)
MCFG_SCREEN_UPDATE_DRIVER(gottlieb_state, screen_update_gottlieb)