diff options
Diffstat (limited to 'engines/queen/detection.cpp')
-rw-r--r-- | engines/queen/detection.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/queen/detection.cpp b/engines/queen/detection.cpp index 24df9928c6..e79da0acde 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 = target + ".s??"; + Common::String pattern("queen.s??"); filenames = saveFileMan->listSavefiles(pattern); sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..) @@ -501,8 +501,7 @@ SaveStateList QueenMetaEngine::listSaves(const char *target) const { } void QueenMetaEngine::removeSaveState(const char *target, int slot) const { - Common::String filename = target; - filename += Common::String::format(".s%02d", slot); + Common::String filename = Common::String::format("queen.s%02d", slot); g_system->getSavefileManager()->removeSavefile(filename); } |