aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto/linuxmoto-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/linuxmoto/linuxmoto-main.cpp')
-rw-r--r--backends/platform/linuxmoto/linuxmoto-main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-main.cpp b/backends/platform/linuxmoto/linuxmoto-main.cpp
index dfd1428d8b..e9f2e661de 100644
--- a/backends/platform/linuxmoto/linuxmoto-main.cpp
+++ b/backends/platform/linuxmoto/linuxmoto-main.cpp
@@ -23,9 +23,6 @@
*
*/
-#include "common/scummsys.h"
-#include "common/system.h"
-
#include "backends/platform/linuxmoto/linuxmoto-sdl.h"
#include "base/main.h"
@@ -35,6 +32,9 @@ int main(int argc, char *argv[]) {
g_system = new OSystem_LINUXMOTO();
assert(g_system);
+ // Pre initialize the backend
+ ((OSystem_POSIX *)g_system)->init();
+
// Invoke the actual ScummVM main entry point:
int res = scummvm_main(argc, argv);