diff options
Diffstat (limited to 'backends/platform/ps2')
-rw-r--r-- | backends/platform/ps2/savefilemgr.cpp | 6 | ||||
-rw-r--r-- | backends/platform/ps2/savefilemgr.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/ps2/savefilemgr.cpp b/backends/platform/ps2/savefilemgr.cpp index 192e3a4b7e..a4b3ddb971 100644 --- a/backends/platform/ps2/savefilemgr.cpp +++ b/backends/platform/ps2/savefilemgr.cpp @@ -228,7 +228,7 @@ bool Ps2SaveFileManager::removeSavefile(const Common::String &filename) { return true; } -Common::StringList Ps2SaveFileManager::listSavefiles(const Common::String &pattern) { +Common::StringArray Ps2SaveFileManager::listSavefiles(const Common::String &pattern) { Common::FSNode savePath(ConfMan.get("savepath")); // TODO: is this fast? Common::String _dir; Common::String search; @@ -237,7 +237,7 @@ Common::StringList Ps2SaveFileManager::listSavefiles(const Common::String &patte char *game=0, path[32], temp[32]; if (!savePath.exists() || !savePath.isDirectory()) - return Common::StringList(); + return Common::StringArray(); printf("listSavefiles = %s\n", pattern.c_str()); @@ -260,7 +260,7 @@ Common::StringList Ps2SaveFileManager::listSavefiles(const Common::String &patte Common::FSDirectory dir(_dir); Common::ArchiveMemberList savefiles; - Common::StringList results; + Common::StringArray results; printf("dir = %s --- reg = %s\n", _dir.c_str(), search.c_str()); diff --git a/backends/platform/ps2/savefilemgr.h b/backends/platform/ps2/savefilemgr.h index b1599c70f6..a87f53d80c 100644 --- a/backends/platform/ps2/savefilemgr.h +++ b/backends/platform/ps2/savefilemgr.h @@ -39,7 +39,7 @@ public: virtual Common::InSaveFile *openForLoading(const Common::String &filename); virtual Common::OutSaveFile *openForSaving(const Common::String &filename); - virtual Common::StringList listSavefiles(const Common::String &pattern); + virtual Common::StringArray listSavefiles(const Common::String &pattern); virtual bool removeSavefile(const Common::String &filename); // void writeSaveNonblocking(char *name, void *buf, uint32 size); |