diff options
author | D G Turner | 2014-01-21 11:39:28 +0000 |
---|---|---|
committer | D G Turner | 2014-01-21 11:39:28 +0000 |
commit | d1b7fd9b87caa51d8bc770e55ae022593247b49a (patch) | |
tree | a31f195b10a3cf611026ad2cdebf80aed2f18760 | |
parent | 7382fe0ba2e00b5b42f25cc6345043c659645048 (diff) | |
download | scummvm-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.cpp | 2 |
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..) |