diff options
author | Max Horn | 2007-12-28 10:00:54 +0000 |
---|---|---|
committer | Max Horn | 2007-12-28 10:00:54 +0000 |
commit | 8464150d4299531b4f08f7aff8123e023a2d71f9 (patch) | |
tree | 3038c72b3fabd761170ee87a43f04a55ea3c2913 | |
parent | 90e4327a4a89354e5cdaaa5df874dfda63145e1a (diff) | |
download | scummvm-rg350-8464150d4299531b4f08f7aff8123e023a2d71f9.tar.gz scummvm-rg350-8464150d4299531b4f08f7aff8123e023a2d71f9.tar.bz2 scummvm-rg350-8464150d4299531b4f08f7aff8123e023a2d71f9.zip |
Get rid of PSP / PalmOS hacks in DefaultSaveFileManager::getSavePath
svn-id: r30046
-rw-r--r-- | backends/platform/PalmOS/Src/be_save.cpp | 2 | ||||
-rw-r--r-- | backends/saves/default/default-saves.cpp | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/backends/platform/PalmOS/Src/be_save.cpp b/backends/platform/PalmOS/Src/be_save.cpp index 81817b77c2..70edbab38f 100644 --- a/backends/platform/PalmOS/Src/be_save.cpp +++ b/backends/platform/PalmOS/Src/be_save.cpp @@ -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) diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp index a969866d94..b61f6dad49 100644 --- a/backends/saves/default/default-saves.cpp +++ b/backends/saves/default/default-saves.cpp @@ -264,10 +264,6 @@ bool DefaultSaveFileManager::removeSavefile(const char *filename) { 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 |