diff options
author | Won Star | 2006-04-07 11:37:46 +0000 |
---|---|---|
committer | Won Star | 2006-04-07 11:37:46 +0000 |
commit | 00a4ca02245b03fa7e860c9d032133fbf424e2f5 (patch) | |
tree | f21fd62e8b8a4cf4c37be5dfda59629099312883 /backends | |
parent | e1bbc61bb56311630da1d1d7c0906251f99e0d37 (diff) | |
download | scummvm-rg350-00a4ca02245b03fa7e860c9d032133fbf424e2f5.tar.gz scummvm-rg350-00a4ca02245b03fa7e860c9d032133fbf424e2f5.tar.bz2 scummvm-rg350-00a4ca02245b03fa7e860c9d032133fbf424e2f5.zip |
Fix compile
svn-id: r21666
Diffstat (limited to 'backends')
-rw-r--r-- | backends/gp32/gp32_main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/backends/gp32/gp32_main.cpp b/backends/gp32/gp32_main.cpp index df0ed42d4b..8316ead1bb 100644 --- a/backends/gp32/gp32_main.cpp +++ b/backends/gp32/gp32_main.cpp @@ -32,6 +32,7 @@ #include "backends/gp32/gp32std_grap.h" #include "backends/gp32/gp32_launcher.h" +#include "backends/gp32/gp32_osys.h" #include "backends/gp32/globals.h" GlobalVars g_vars; @@ -69,12 +70,14 @@ void GpMain(void *arg) { //char *argv[] = { "scummvm", "-enull", "-pgp:\\game\\dott\\", "tentacle" }; char *argv[] = { "scummvm", "-d9" }; - g_system = new OSystem_GP32_create(); + extern OSystem *OSystem_GP32_create(); + g_system = OSystem_GP32_create(); assert(g_system); // Invoke the actual ScummVM main entry point: //int res = scummvm_main(argc, argv); int res = scummvm_main(1, NULL); g_system->quit(); // TODO: Consider removing / replacing this! - return res; + + //return res; } |