diff options
author | Max Horn | 2007-12-30 13:05:38 +0000 |
---|---|---|
committer | Max Horn | 2007-12-30 13:05:38 +0000 |
commit | c54562d9a3fbcc6bc2249e7e36a92ead78165653 (patch) | |
tree | 9d41d71c915942a42917a1b5c8e1a1138ea52792 /backends/saves | |
parent | 0d3092689b6134671ec8ad1ec767bced43a32333 (diff) | |
download | scummvm-rg350-c54562d9a3fbcc6bc2249e7e36a92ead78165653.tar.gz scummvm-rg350-c54562d9a3fbcc6bc2249e7e36a92ead78165653.tar.bz2 scummvm-rg350-c54562d9a3fbcc6bc2249e7e36a92ead78165653.zip |
The PS2, DS and PalmOS ports currently do not properly implement their SaveFileManagers -- flagging the incorrect & invalid code by making it not compile. Note: Portser should probably also fix their code in the 0.11 branch
svn-id: r30079
Diffstat (limited to 'backends/saves')
-rw-r--r-- | backends/saves/default/default-saves.cpp | 4 | ||||
-rw-r--r-- | backends/saves/default/default-saves.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp index aaa403291f..c96ae9dcf6 100644 --- a/backends/saves/default/default-saves.cpp +++ b/backends/saves/default/default-saves.cpp @@ -114,11 +114,11 @@ static void join_paths(const char *filename, const char *directory, strncat(buf, filename, bufsize-1); } -Common::StringList DefaultSaveFileManager::listSavefiles(const char *regex) { +Common::StringList DefaultSaveFileManager::listSavefiles(const char *pattern) { FilesystemNode savePath(getSavePath()); FSList savefiles; Common::StringList results; - Common::String search(regex); + Common::String search(pattern); if (savePath.lookupFile(savefiles, search, false, true)) { for (FSList::const_iterator file = savefiles.begin(); file != savefiles.end(); ++file) { diff --git a/backends/saves/default/default-saves.h b/backends/saves/default/default-saves.h index 5d7bf159ff..f1a0d04aef 100644 --- a/backends/saves/default/default-saves.h +++ b/backends/saves/default/default-saves.h @@ -34,7 +34,7 @@ */ class DefaultSaveFileManager : public Common::SaveFileManager { public: - virtual Common::StringList listSavefiles(const char *regex); + virtual Common::StringList listSavefiles(const char *pattern); virtual Common::InSaveFile *openForLoading(const char *filename); virtual Common::OutSaveFile *openForSaving(const char *filename); virtual bool removeSavefile(const char *filename); |