aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:45:55 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commiteaf590510bda98ff517de1a9a6f1df4852f9a186 (patch)
tree7fe4cdc430740455781276bbe2e7c8ed30f3c982
parent0285c5b628fa86c76c7e35dfbca4c07476939fdf (diff)
downloadscummvm-rg350-eaf590510bda98ff517de1a9a6f1df4852f9a186.tar.gz
scummvm-rg350-eaf590510bda98ff517de1a9a6f1df4852f9a186.tar.bz2
scummvm-rg350-eaf590510bda98ff517de1a9a6f1df4852f9a186.zip
TOON: Only request actual save slots in listSaves.
-rw-r--r--engines/toon/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toon/detection.cpp b/engines/toon/detection.cpp
index 4f82514213..e38ae3d2f5 100644
--- a/engines/toon/detection.cpp
+++ b/engines/toon/detection.cpp
@@ -173,7 +173,7 @@ SaveStateList ToonMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String pattern = target;
- pattern += ".???";
+ pattern += ".###";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)