aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:40:26 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit6665f81c2561cb285d6cf138afa963cff18277ae (patch)
treeab722a7356beee25b2778c1d14fdada2ddee537f
parent507bfe2a699ec43427668cd7050cb187d6891324 (diff)
downloadscummvm-rg350-6665f81c2561cb285d6cf138afa963cff18277ae.tar.gz
scummvm-rg350-6665f81c2561cb285d6cf138afa963cff18277ae.tar.bz2
scummvm-rg350-6665f81c2561cb285d6cf138afa963cff18277ae.zip
CRUISE: Only request actual save slots in listSaves.
-rw-r--r--engines/cruise/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/detection.cpp b/engines/cruise/detection.cpp
index 4ca88a08d6..4d0ed2bf91 100644
--- a/engines/cruise/detection.cpp
+++ b/engines/cruise/detection.cpp
@@ -228,7 +228,7 @@ bool CruiseMetaEngine::hasFeature(MetaEngineFeature f) const {
SaveStateList CruiseMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
- Common::String pattern("cruise.s??");
+ Common::String pattern("cruise.s##");
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)