aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2014-01-21 11:39:28 +0000
committerD G Turner2014-01-21 11:39:28 +0000
commitd1b7fd9b87caa51d8bc770e55ae022593247b49a (patch)
treea31f195b10a3cf611026ad2cdebf80aed2f18760
parent7382fe0ba2e00b5b42f25cc6345043c659645048 (diff)
downloadscummvm-rg350-d1b7fd9b87caa51d8bc770e55ae022593247b49a.tar.gz
scummvm-rg350-d1b7fd9b87caa51d8bc770e55ae022593247b49a.tar.bz2
scummvm-rg350-d1b7fd9b87caa51d8bc770e55ae022593247b49a.zip
QUEEN: Migrate listSaves() function to game target for save naming.
-rw-r--r--engines/queen/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/queen/detection.cpp b/engines/queen/detection.cpp
index 99f3996ddb..24df9928c6 100644
--- a/engines/queen/detection.cpp
+++ b/engines/queen/detection.cpp
@@ -475,7 +475,7 @@ SaveStateList QueenMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
char saveDesc[32];
- Common::String pattern("queen.s??");
+ Common::String pattern = target + ".s??";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)