From 5cf077339e2e50aaa65242bf08e89f8ee9ef759a Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sat, 11 Feb 2006 09:18:24 +0000 Subject: Added OS5 Advanced mode svn-id: r20502 --- backends/PalmOS/Src/be_create.cpp | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'backends') 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(); } -- cgit v1.2.3