aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:41:22 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commite1a5cfaac69b5c103f50ca7c634a92c770daf491 (patch)
treed69eff375349e5fcfe4f8fcbf6b951a87c4f53be /engines/hopkins
parent8f77efae960b69cddef85a3fc01ad25552357677 (diff)
downloadscummvm-rg350-e1a5cfaac69b5c103f50ca7c634a92c770daf491.tar.gz
scummvm-rg350-e1a5cfaac69b5c103f50ca7c634a92c770daf491.tar.bz2
scummvm-rg350-e1a5cfaac69b5c103f50ca7c634a92c770daf491.zip
HOPKINS: Only request actual save slots in listSaves.
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/detection.cpp b/engines/hopkins/detection.cpp
index a25b19e496..670efb8898 100644
--- a/engines/hopkins/detection.cpp
+++ b/engines/hopkins/detection.cpp
@@ -150,7 +150,7 @@ SaveStateList HopkinsMetaEngine::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);
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort to get the files in numerical order