galaxold.cpp: appease deprecation warning (nw)

This commit is contained in:
Ivan Vangelista 2018-12-15 11:25:41 +01:00
parent 117f349ea4
commit 790bd9d950

View File

@ -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<timer_device>("int_timer");
int_timer->adjust(m_screen->time_until_pos(0));
subdevice<timer_device>("int_timer")->adjust(m_screen->time_until_pos(0));
}
MACHINE_RESET_MEMBER(galaxold_state,galaxold)