diff options
author | Johannes Schickel | 2016-01-26 02:46:21 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-01-26 16:35:30 +0100 |
commit | 224a634d7e245510e70e896fb6e2eb64551db507 (patch) | |
tree | 9b69e4f9b0780d49a8e4c0daa47f652ca5486c1b /engines/zvision | |
parent | 6b7d0554a415f43e4b25373223bdd8115f588982 (diff) | |
download | scummvm-rg350-224a634d7e245510e70e896fb6e2eb64551db507.tar.gz scummvm-rg350-224a634d7e245510e70e896fb6e2eb64551db507.tar.bz2 scummvm-rg350-224a634d7e245510e70e896fb6e2eb64551db507.zip |
ZVISION: Only request actual save slots in listSaves.
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/detection.cpp b/engines/zvision/detection.cpp index 944d366d90..5fdf17cd2b 100644 --- a/engines/zvision/detection.cpp +++ b/engines/zvision/detection.cpp @@ -128,7 +128,7 @@ SaveStateList ZVisionMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); ZVision::SaveGameHeader header; Common::String pattern = target; - pattern += ".???"; + pattern += ".###"; Common::StringArray filenames; filenames = saveFileMan->listSavefiles(pattern.c_str()); @@ -170,7 +170,7 @@ void ZVisionMetaEngine::removeSaveState(const char *target, int slot) const { Common::StringArray filenames; Common::String pattern = target; - pattern += ".???"; + pattern += ".###"; filenames = saveFileMan->listSavefiles(pattern.c_str()); Common::sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..) |