diff options
author | 2018-12-15 11:25:41 +0100 | |
---|---|---|
committer | 2018-12-15 11:25:41 +0100 | |
commit | 790bd9d950a8df69b499f067dd7f5205e00d3092 (patch) | |
tree | 8a65fe85172d64fa5f9707933e19d153c4855e4d | |
parent | 117f349ea42078ffad6595d5831d5a71d26c07a3 (diff) |
galaxold.cpp: appease deprecation warning (nw)
-rw-r--r-- | src/mame/machine/galaxold.cpp | 3 |
1 files changed, 1 insertions, 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<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) |