aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-26 01:24:25 +0200
committerAdrian Frühwirth2018-03-26 01:24:25 +0200
commitf026186cdf20c6df24d16b8b99ee03922b5e75f9 (patch)
tree6ed818b954af46405f6cdbd8cedd2f5323c1cabb /engines/xeen
parent8f6d8f7f68002d559a9c62c863edfc65c9dc8618 (diff)
downloadscummvm-rg350-f026186cdf20c6df24d16b8b99ee03922b5e75f9.tar.gz
scummvm-rg350-f026186cdf20c6df24d16b8b99ee03922b5e75f9.tar.bz2
scummvm-rg350-f026186cdf20c6df24d16b8b99ee03922b5e75f9.zip
XEEN: Be strict about matching digits in savegame filenames
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp
index cc1bdde947..f245900154 100644
--- a/engines/xeen/detection.cpp
+++ b/engines/xeen/detection.cpp
@@ -137,7 +137,7 @@ SaveStateList XeenMetaEngine::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.###", target);
Xeen::XeenSavegameHeader header;
filenames = saveFileMan->listSavefiles(pattern);