summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/galaxold.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/galaxold.cpp')
-rw-r--r--src/mame/machine/galaxold.cpp3
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)