[Scummvm-cvs-logs] SF.net SVN: scummvm: [20502] scummvm/trunk/backends/PalmOS/Src/be_create.cpp
chrilith at users.sourceforge.net
chrilith at users.sourceforge.net
Sat Feb 11 01:19:02 CET 2006
Revision: 20502
Author: chrilith
Date: 2006-02-11 01:18:24 -0800 (Sat, 11 Feb 2006)
ViewCVS: http://svn.sourceforge.net/scummvm?rev=20502&view=rev
Log Message:
-----------
Added OS5 Advanced mode
Modified Paths:
--------------
scummvm/trunk/backends/PalmOS/Src/be_create.cpp
Modified: scummvm/trunk/backends/PalmOS/Src/be_create.cpp
===================================================================
--- scummvm/trunk/backends/PalmOS/Src/be_create.cpp 2006-02-11 09:15:12 UTC (rev 20501)
+++ scummvm/trunk/backends/PalmOS/Src/be_create.cpp 2006-02-11 09:18:24 UTC (rev 20502)
@@ -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();
}
More information about the Scummvm-git-logs
mailing list