aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:46:50 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit73286d94c15674d5197531d3a65e6e7f8d55ed86 (patch)
treead14026671e2b60d49576f5abff9790d5132107a /engines/teenagent
parent0260bfc63d4b5291dd3112f0c52ad43f2bdd61d7 (diff)
downloadscummvm-rg350-73286d94c15674d5197531d3a65e6e7f8d55ed86.tar.gz
scummvm-rg350-73286d94c15674d5197531d3a65e6e7f8d55ed86.tar.bz2
scummvm-rg350-73286d94c15674d5197531d3a65e6e7f8d55ed86.zip
TEENAGENT: Only request actual save slots in listSaves.
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/detection.cpp b/engines/teenagent/detection.cpp
index 7a53faf98a..4fd3a06311 100644
--- a/engines/teenagent/detection.cpp
+++ b/engines/teenagent/detection.cpp
@@ -125,7 +125,7 @@ public:
virtual SaveStateList listSaves(const char *target) const {
Common::String pattern = target;
- pattern += ".??";
+ pattern += ".##";
Common::StringArray filenames = g_system->getSavefileManager()->listSavefiles(pattern);
Common::sort(filenames.begin(), filenames.end());