diff options
author | Alejandro Marzini | 2010-07-03 00:25:06 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-07-03 00:25:06 +0000 |
commit | 4e50b23005b1f27d7598b7dc1373a00cd0175e65 (patch) | |
tree | ab8b1c5cd40991d41bdba05a43a6fd7a01cf680a /backends/platform/linuxmoto/linuxmoto-main.cpp | |
parent | fda9416cc8b64fa7371b7a9989def9cc318efc7e (diff) | |
download | scummvm-rg350-4e50b23005b1f27d7598b7dc1373a00cd0175e65.tar.gz scummvm-rg350-4e50b23005b1f27d7598b7dc1373a00cd0175e65.tar.bz2 scummvm-rg350-4e50b23005b1f27d7598b7dc1373a00cd0175e65.zip |
Cleanup and documentation.
svn-id: r50610
Diffstat (limited to 'backends/platform/linuxmoto/linuxmoto-main.cpp')
-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); |