summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wmg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wmg.cpp')
-rw-r--r--src/mame/drivers/wmg.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/wmg.cpp b/src/mame/drivers/wmg.cpp
index f047d0b921d..034c80ea155 100644
--- a/src/mame/drivers/wmg.cpp
+++ b/src/mame/drivers/wmg.cpp
@@ -421,7 +421,6 @@ MACHINE_RESET_MEMBER( wmg_state, wmg )
m_wmg_port_select=0;
m_wmg_vram_bank=0;
wmg_c400_w( space1, 0, 0);
- MACHINE_RESET_CALL_MEMBER(williams_common);
m_maincpu->reset();
}
@@ -503,8 +502,11 @@ MACHINE_CONFIG_START(wmg_state::wmg)
MCFG_MACHINE_RESET_OVERRIDE(wmg_state, wmg)
MCFG_NVRAM_ADD_0FILL("nvram")
- MCFG_TIMER_DRIVER_ADD("scan_timer", williams_state, williams_va11_callback)
- MCFG_TIMER_DRIVER_ADD("240_timer", williams_state, williams_count240_callback)
+ // set a timer to go off every 32 scanlines, to toggle the VA11 line and update the screen
+ MCFG_TIMER_DRIVER_ADD_SCANLINE("scan_timer", williams_state, williams_va11_callback, "screen", 0, 32)
+
+ // also set a timer to go off on scanline 240
+ MCFG_TIMER_DRIVER_ADD_SCANLINE("240_timer", williams_state, williams_count240_callback, "screen", 0, 240)
MCFG_WATCHDOG_ADD("watchdog")