[Scummvm-cvs-logs] SF.net SVN: scummvm: [21834] scummvm/trunk/base/gameDetector.cpp

wonst719 at users.sourceforge.net wonst719 at users.sourceforge.net
Wed Apr 12 19:41:01 CEST 2006


Revision: 21834
Author:   wonst719
Date:     2006-04-12 19:39:59 -0700 (Wed, 12 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21834&view=rev

Log Message:
-----------
GP32 uses ARM processor. So some of PalmOS specific changes also apply to GP32.

Modified Paths:
--------------
    scummvm/trunk/base/gameDetector.cpp
Modified: scummvm/trunk/base/gameDetector.cpp
===================================================================
--- scummvm/trunk/base/gameDetector.cpp	2006-04-12 22:07:41 UTC (rev 21833)
+++ scummvm/trunk/base/gameDetector.cpp	2006-04-13 02:39:59 UTC (rev 21834)
@@ -56,7 +56,7 @@
 ;
 
 // DONT FIXME: DO NOT ORDER ALPHABETICALLY, THIS IS ORDERED BY IMPORTANCE/CATEGORY! :)
-#if defined(PALMOS_MODE) || defined(__SYMBIAN32__)
+#if defined(PALMOS_MODE) || defined(__SYMBIAN32__) || defined(__GP32__)
 static const char HELP_STRING[] = "NoUsageString"; // save more data segment space
 #else
 static const char HELP_STRING[] =
@@ -128,7 +128,7 @@
 ;
 #endif
 
-#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG))
+#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG) || defined(__GP32__))
 static Common::String s_appName("scummvm");
 #else
 static const char *s_appName = "scummvm";
@@ -144,7 +144,7 @@
 	vsnprintf(buf, STRINGBUFLEN, s, va);
 	va_end(va);
 
-#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG))
+#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG) || defined(__GP32__))
 	printf(USAGE_STRING, s_appName.c_str(), buf, s_appName.c_str(), s_appName.c_str());
 #endif
 	exit(1);
@@ -556,7 +556,7 @@
 	// environment variable. This is weaker than a --savepath on the
 	// command line, but overrides the default savepath, hence it is
 	// handled here, just before the command line gets parsed.
-#if !defined(MACOS_CARBON) && !defined(_WIN32_WCE) && !defined(PALMOS_MODE)
+#if !defined(MACOS_CARBON) && !defined(_WIN32_WCE) && !defined(PALMOS_MODE) && !defined(__GP32__)
 	if (!settings.contains("savepath")) {
 		const char *dir = getenv("SCUMMVM_SAVEPATH");
 		if (dir && *dir && strlen(dir) < 1024) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list