aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-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();
}