diff options
author | Max Horn | 2010-03-18 15:44:59 +0000 |
---|---|---|
committer | Max Horn | 2010-03-18 15:44:59 +0000 |
commit | 81a698d0a0a52115088825523950047d135b0ca0 (patch) | |
tree | 776bf3f65deaf6ece083429dca7ce93f7d7ac9dd /backends/platform/ps2/savefilemgr.cpp | |
parent | 75de0ebccbc2680758e1ae83b913eb481f90aeda (diff) | |
download | scummvm-rg350-81a698d0a0a52115088825523950047d135b0ca0.tar.gz scummvm-rg350-81a698d0a0a52115088825523950047d135b0ca0.tar.bz2 scummvm-rg350-81a698d0a0a52115088825523950047d135b0ca0.zip |
Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code
svn-id: r48286
Diffstat (limited to 'backends/platform/ps2/savefilemgr.cpp')
-rw-r--r-- | backends/platform/ps2/savefilemgr.cpp | 6 |
1 files changed, 3 insertions, 3 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()); |