aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:42:08 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit56a84cee0aa008c01981e061b9d9c3d2e0a6d4ab (patch)
treeaee3f0a7556fe46bf67394f0f5d0af94aeebd7c7 /engines/mads
parent351d8d5d388c06cb937110270c4f6c6e11a456e1 (diff)
downloadscummvm-rg350-56a84cee0aa008c01981e061b9d9c3d2e0a6d4ab.tar.gz
scummvm-rg350-56a84cee0aa008c01981e061b9d9c3d2e0a6d4ab.tar.bz2
scummvm-rg350-56a84cee0aa008c01981e061b9d9c3d2e0a6d4ab.zip
MADS: Only request actual save slots in listSaves.
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/detection.cpp b/engines/mads/detection.cpp
index 57f4776e82..0357bd4bcc 100644
--- a/engines/mads/detection.cpp
+++ b/engines/mads/detection.cpp
@@ -188,7 +188,7 @@ SaveStateList MADSMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String saveDesc;
- Common::String pattern = Common::String::format("%s.0??", target);
+ Common::String pattern = Common::String::format("%s.0##", target);
MADS::MADSSavegameHeader header;
filenames = saveFileMan->listSavefiles(pattern);