aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2xwiz/gp2xwiz-main.cpp
diff options
context:
space:
mode:
authorJohn Willis2010-08-26 11:24:26 +0000
committerJohn Willis2010-08-26 11:24:26 +0000
commit1fea42949796cb341067b17000569554c5861b6e (patch)
treeca57c0e276f7148bf171859fd2325e73e58e6565 /backends/platform/gp2xwiz/gp2xwiz-main.cpp
parentf8276a36fb598190ae93489ef7d7049a90ec4e52 (diff)
downloadscummvm-rg350-1fea42949796cb341067b17000569554c5861b6e.tar.gz
scummvm-rg350-1fea42949796cb341067b17000569554c5861b6e.tar.bz2
scummvm-rg350-1fea42949796cb341067b17000569554c5861b6e.zip
GP2XWIZ: Add initial support for the GPH Caanoo.
Most of the codebase is the same, but the toolchain and libs are different. Support for Caanoo specific features will follow, I just want to get the build support into trunk for now. svn-id: r52400
Diffstat (limited to 'backends/platform/gp2xwiz/gp2xwiz-main.cpp')
-rw-r--r--backends/platform/gp2xwiz/gp2xwiz-main.cpp31
1 files changed, 13 insertions, 18 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-main.cpp b/backends/platform/gp2xwiz/gp2xwiz-main.cpp
index 547d6a57c9..839afa6a95 100644
--- a/backends/platform/gp2xwiz/gp2xwiz-main.cpp
+++ b/backends/platform/gp2xwiz/gp2xwiz-main.cpp
@@ -56,24 +56,19 @@
/* Dump console info to files. */
#define DUMP_STDOUT
-// Don't use the GP2XWiz main on the Caanoo
-#ifndef CAANOO
- int main(int argc, char *argv[]) {
-
- g_system = new OSystem_GP2XWIZ();
- assert(g_system);
-
- #ifdef DYNAMIC_MODULES
- PluginManager::instance().addPluginProvider(new POSIXPluginProvider());
- #endif
-
- // Invoke the actual ScummVM main entry point:
- int res = scummvm_main(argc, argv);
- g_system->quit();
-
- return res;
- }
-#endif /* CAANOO */
+int main(int argc, char *argv[]) {
+ g_system = new OSystem_GP2XWIZ();
+ assert(g_system);
+#ifdef DYNAMIC_MODULES
+ PluginManager::instance().addPluginProvider(new POSIXPluginProvider());
+#endif
+
+ // Invoke the actual ScummVM main entry point:
+ int res = scummvm_main(argc, argv);
+ g_system->quit();
+
+ return res;
+}
void OSystem_GP2XWIZ::initBackend() {