[Scummvm-cvs-logs] SF.net SVN: scummvm: [30046] scummvm/trunk/backends

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Dec 28 11:00:54 CET 2007


Revision: 30046
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30046&view=rev
Author:   fingolfin
Date:     2007-12-28 02:00:54 -0800 (Fri, 28 Dec 2007)

Log Message:
-----------
Get rid of PSP / PalmOS hacks in DefaultSaveFileManager::getSavePath

Modified Paths:
--------------
    scummvm/trunk/backends/platform/PalmOS/Src/be_save.cpp
    scummvm/trunk/backends/saves/default/default-saves.cpp

Modified: scummvm/trunk/backends/platform/PalmOS/Src/be_save.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/be_save.cpp	2007-12-28 09:25:47 UTC (rev 30045)
+++ scummvm/trunk/backends/platform/PalmOS/Src/be_save.cpp	2007-12-28 10:00:54 UTC (rev 30046)
@@ -30,7 +30,7 @@
 void PalmSaveFileManager::listSavefiles(const char *prefix, bool *marks, int num) {
 	FileRef fileRef;
 	// try to open the dir
-	Err e = VFSFileOpen(gVars->VFS.volRefNum, getSavePath(), vfsModeRead, &fileRef);
+	Err e = VFSFileOpen(gVars->VFS.volRefNum, SCUMMVM_SAVEPATH, vfsModeRead, &fileRef);
 	memset(marks, false, num*sizeof(bool));
 
 	if (e != errNone)

Modified: scummvm/trunk/backends/saves/default/default-saves.cpp
===================================================================
--- scummvm/trunk/backends/saves/default/default-saves.cpp	2007-12-28 09:25:47 UTC (rev 30045)
+++ scummvm/trunk/backends/saves/default/default-saves.cpp	2007-12-28 10:00:54 UTC (rev 30046)
@@ -264,10 +264,6 @@
 
 const char *DefaultSaveFileManager::getSavePath() const {
 
-#if defined(PALMOS_MODE) || defined(__PSP__)
-	return SCUMMVM_SAVEPATH;
-#else
-
 	const char *dir = NULL;
 
 	// Try to use game specific savepath from config


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