From 790bd9d950a8df69b499f067dd7f5205e00d3092 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Sat, 15 Dec 2018 11:25:41 +0100 Subject: galaxold.cpp: appease deprecation warning (nw) --- src/mame/machine/galaxold.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mame/machine/galaxold.cpp b/src/mame/machine/galaxold.cpp index 0f5036bb1db..488ec27dd8d 100644 --- a/src/mame/machine/galaxold.cpp +++ b/src/mame/machine/galaxold.cpp @@ -66,8 +66,7 @@ void galaxold_state::machine_reset_common(int line) m_7474_9m_1->preset_w(0); /* start a timer to generate interrupts */ - timer_device *int_timer = machine().device("int_timer"); - int_timer->adjust(m_screen->time_until_pos(0)); + subdevice("int_timer")->adjust(m_screen->time_until_pos(0)); } MACHINE_RESET_MEMBER(galaxold_state,galaxold) -- cgit v1.2.3