diff options
Diffstat (limited to 'backends')
-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 |