aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:41:11 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit8f77efae960b69cddef85a3fc01ad25552357677 (patch)
treef24b0df1cc82a239115acfe7b9c3bffa81db4b53 /engines
parent6af2e8564ab1fb84e4b2957cb2c47ba3a73577bc (diff)
downloadscummvm-rg350-8f77efae960b69cddef85a3fc01ad25552357677.tar.gz
scummvm-rg350-8f77efae960b69cddef85a3fc01ad25552357677.tar.bz2
scummvm-rg350-8f77efae960b69cddef85a3fc01ad25552357677.zip
FULLPIPE: Only request actual save slots in listSaves.
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/detection.cpp b/engines/fullpipe/detection.cpp
index de0ed04d25..ccd55935e6 100644
--- a/engines/fullpipe/detection.cpp
+++ b/engines/fullpipe/detection.cpp
@@ -108,7 +108,7 @@ bool FullpipeMetaEngine::hasFeature(MetaEngineFeature f) const {
SaveStateList FullpipeMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
- Common::String pattern("fullpipe.s??");
+ Common::String pattern("fullpipe.s##");
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)