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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp
index 3d9b6c428a2..a7fdddc5fd2 100644
--- a/src/emu/machine.cpp
+++ b/src/emu/machine.cpp
@@ -84,6 +84,7 @@
#include "network.h"
#include "romload.h"
#include "tilemap.h"
+#include "natkeyboard.h"
#include "ui/uimain.h"
#include <ctime>
#include <rapidjson/writer.h>
@@ -218,6 +219,9 @@ void running_machine::start()
if (newbase != 0)
m_base_time = newbase;
+ // initialize natural keyboard support after ports have been initialized
+ m_natkeyboard = std::make_unique<natural_keyboard>(*this);
+
// initialize the streams engine before the sound devices start
m_sound = std::make_unique<sound_manager>(*this);