diff options
author | Gregory Montoir | 2008-11-30 11:52:54 +0000 |
---|---|---|
committer | Gregory Montoir | 2008-11-30 11:52:54 +0000 |
commit | 2730a6dddce10c1ff387a64355822707fc93c8ae (patch) | |
tree | a7072b084df5f895af6b71852014adec8ea74648 | |
parent | ba416211abb24e490cb0f4c6d1072c71fe8fec1a (diff) | |
download | scummvm-rg350-2730a6dddce10c1ff387a64355822707fc93c8ae.tar.gz scummvm-rg350-2730a6dddce10c1ff387a64355822707fc93c8ae.tar.bz2 scummvm-rg350-2730a6dddce10c1ff387a64355822707fc93c8ae.zip |
queen doesn't use target name for savestate files (amiga & dos versions use the same savegame data)
svn-id: r35190
-rw-r--r-- | engines/queen/queen.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp index 2de66c400e..ce4144d39d 100644 --- a/engines/queen/queen.cpp +++ b/engines/queen/queen.cpp @@ -138,8 +138,7 @@ SaveStateList QueenMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); Common::StringList filenames; char saveDesc[32]; - Common::String pattern = target; - pattern += ".s??"; + Common::String pattern("queen.s??"); filenames = saveFileMan->listSavefiles(pattern.c_str()); sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..) @@ -407,7 +406,7 @@ Common::InSaveFile *QueenEngine::readGameStateHeader(int slot, GameStateHeader * void QueenEngine::makeGameStateName(int slot, char *buf) const { if (slot == SLOT_LISTPREFIX) { - strcpy(buf, "queen.s*"); + strcpy(buf, "queen.s??"); } else if (slot == SLOT_AUTOSAVE) { strcpy(buf, "queen.asd"); } else { |