Added OS5 Advanced mode

svn-id: r20502
This commit is contained in:
Chris Apers 2006-02-11 09:18:24 +00:00
parent 861a4be077
commit 5cf077339e

View File

@ -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();
}