aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-26 02:45:47 +0100
committerJohannes Schickel2016-01-26 16:35:30 +0100
commit0285c5b628fa86c76c7e35dfbca4c07476939fdf (patch)
tree5892fa5c834fcd6bf710e1fbb7b44aff69d81a16
parent7a34596c2945dc5b9458fc1bc96e80f55c391427 (diff)
downloadscummvm-rg350-0285c5b628fa86c76c7e35dfbca4c07476939fdf.tar.gz
scummvm-rg350-0285c5b628fa86c76c7e35dfbca4c07476939fdf.tar.bz2
scummvm-rg350-0285c5b628fa86c76c7e35dfbca4c07476939fdf.zip
TONY: Only request actual save slots in listSaves.
-rw-r--r--engines/tony/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/detection.cpp b/engines/tony/detection.cpp
index 9bb768d1ed..2f05c0abea 100644
--- a/engines/tony/detection.cpp
+++ b/engines/tony/detection.cpp
@@ -115,7 +115,7 @@ SaveStateList TonyMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String saveDesc;
- Common::String pattern = "tony.0??";
+ Common::String pattern = "tony.0##";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)