aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:46:21 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit224a634d7e245510e70e896fb6e2eb64551db507 (patch)
tree9b69e4f9b0780d49a8e4c0daa47f652ca5486c1b /engines
parent6b7d0554a415f43e4b25373223bdd8115f588982 (diff)
downloadscummvm-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')
-rw-r--r--engines/zvision/detection.cpp4
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..)