summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine.cpp')
-rw-r--r--src/emu/machine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp
index c9b72fde6e4..24bc712de15 100644
--- a/src/emu/machine.cpp
+++ b/src/emu/machine.cpp
@@ -224,6 +224,9 @@ void running_machine::start()
// allocate a soft_reset timer
m_soft_reset_timer = m_scheduler.timer_alloc(timer_expired_delegate(FUNC(running_machine::soft_reset), this));
+ // intialize UI input
+ m_ui_input = std::make_unique<ui_input_manager>(*this);
+
// init the osd layer
m_manager.osd().init(*this);
@@ -241,9 +244,6 @@ void running_machine::start()
if (newbase != 0)
m_base_time = newbase;
- // intialize UI input
- m_ui_input = std::make_unique<ui_input_manager>(*this);
-
// initialize the streams engine before the sound devices start
m_sound = std::make_unique<sound_manager>(*this);