aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:41:35 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit0fa13039a2f94ed299db19e7176bb151767bae83 (patch)
tree3022514d7b9db940bdb43b5eb25ebb465736c7f5
parente1a5cfaac69b5c103f50ca7c634a92c770daf491 (diff)
downloadscummvm-rg350-0fa13039a2f94ed299db19e7176bb151767bae83.tar.gz
scummvm-rg350-0fa13039a2f94ed299db19e7176bb151767bae83.tar.bz2
scummvm-rg350-0fa13039a2f94ed299db19e7176bb151767bae83.zip
HUGO: Only request actual save slots in listSaves.
-rw-r--r--engines/hugo/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/detection.cpp b/engines/hugo/detection.cpp
index 3907215746..a005e649d4 100644
--- a/engines/hugo/detection.cpp
+++ b/engines/hugo/detection.cpp
@@ -177,7 +177,7 @@ SaveStateList HugoMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String pattern = target;
- pattern += "-??.SAV";
+ pattern += "-##.SAV";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)