diff options
Diffstat (limited to 'backends/platform/linuxmoto')
| -rw-r--r-- | backends/platform/linuxmoto/linuxmoto-main.cpp | 6 |
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); |
