aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src
diff options
context:
space:
mode:
authorChris Apers2006-02-11 09:18:24 +0000
committerChris Apers2006-02-11 09:18:24 +0000
commit5cf077339e2e50aaa65242bf08e89f8ee9ef759a (patch)
tree599bb98b062d51d5c6525e66dae3272a60c33581 /backends/PalmOS/Src
parent861a4be0772388c80167618dcde644b97ca1e046 (diff)
downloadscummvm-rg350-5cf077339e2e50aaa65242bf08e89f8ee9ef759a.tar.gz
scummvm-rg350-5cf077339e2e50aaa65242bf08e89f8ee9ef759a.tar.bz2
scummvm-rg350-5cf077339e2e50aaa65242bf08e89f8ee9ef759a.zip
Added OS5 Advanced mode
svn-id: r20502
Diffstat (limited to 'backends/PalmOS/Src')
-rwxr-xr-xbackends/PalmOS/Src/be_create.cpp18
1 files changed, 14 insertions, 4 deletions
diff --git a/backends/PalmOS/Src/be_create.cpp b/backends/PalmOS/Src/be_create.cpp
index ab651c3c37..756ac010e5 100755
--- a/backends/PalmOS/Src/be_create.cpp
+++ b/backends/PalmOS/Src/be_create.cpp
@@ -1,7 +1,7 @@
/* ScummVM - Scumm Interpreter
* Copyright (C) 2001 Ludvig Strigeus
* Copyright (C) 2001-2006 The ScummVM project
- * Copyright (C) 2002-2005 Chris Apers - PalmOS Backend
+ * Copyright (C) 2002-2006 Chris Apers - PalmOS Backend
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -17,21 +17,31 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $Header$
+ * $URL$
+ * $Id$
*
*/
#include "be_zodiac.h"
-#include "be_os5.h"
+#include "be_os5ex.h"
OSystem *OSystem_PalmOS5_create() {
- return OSystem_PalmOS5::create();
+ if (gVars->advancedMode)
+ return OSystem_PalmOS5Ex::create();
+ else
+ return OSystem_PalmOS5::create();
}
OSystem *OSystem_PalmOS5::create() {
return new OSystem_PalmOS5();
}
+#ifdef PALMOS_ARM
+OSystem *OSystem_PalmOS5Ex::create() {
+ return new OSystem_PalmOS5Ex();
+}
+#endif
+
OSystem *OSystem_PalmZodiac_create() {
return OSystem_PalmZodiac::create();
}