diff options
author | Strangerke | 2013-10-07 22:24:08 +0200 |
---|---|---|
committer | Strangerke | 2013-10-07 22:26:33 +0200 |
commit | 7b11be0a9245875fe6cd48ffd9e3f2f325d98c23 (patch) | |
tree | 862d33983686fa4ce4abd41cfb5fc95bf3a58fdb | |
parent | 77c10447c3e3d52247598e6ce6c1531f87883ec8 (diff) | |
download | scummvm-rg350-7b11be0a9245875fe6cd48ffd9e3f2f325d98c23.tar.gz scummvm-rg350-7b11be0a9245875fe6cd48ffd9e3f2f325d98c23.tar.bz2 scummvm-rg350-7b11be0a9245875fe6cd48ffd9e3f2f325d98c23.zip |
AVALANCHE: Fix savegame patterns
-rw-r--r-- | engines/avalanche/detection.cpp | 6 | ||||
-rw-r--r-- | gui/credits.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/avalanche/detection.cpp b/engines/avalanche/detection.cpp index 38700afb28..e45422192c 100644 --- a/engines/avalanche/detection.cpp +++ b/engines/avalanche/detection.cpp @@ -111,7 +111,7 @@ SaveStateList AvalancheMetaEngine::listSaves(const char *target) const { Common::StringArray filenames; Common::String pattern = target; pattern.toUppercase(); - pattern += "-??.SAV"; + pattern += ".???"; filenames = saveFileMan->listSavefiles(pattern); sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..) @@ -164,12 +164,12 @@ SaveStateList AvalancheMetaEngine::listSaves(const char *target) const { } void AvalancheMetaEngine::removeSaveState(const char *target, int slot) const { - Common::String fileName = Common::String::format("%s-%02d.SAV", target, slot); + Common::String fileName = Common::String::format("%s.%03d", target, slot); g_system->getSavefileManager()->removeSavefile(fileName); } SaveStateDescriptor AvalancheMetaEngine::querySaveMetaInfos(const char *target, int slot) const { - Common::String fileName = Common::String::format("%s-%02d.SAV", target, slot); + Common::String fileName = Common::String::format("%s.%03d", target, slot); Common::InSaveFile *f = g_system->getSavefileManager()->openForLoading(fileName); if (f) { diff --git a/gui/credits.h b/gui/credits.h index e375fa0cbc..74b1de8c85 100644 --- a/gui/credits.h +++ b/gui/credits.h @@ -79,8 +79,8 @@ static const char *credits[] = { "", "C1""AVALANCHE", "A0""Peter Bozso", -"A0""Arnaud Boutonne", "C0""Peter Bozs\363", +"A0""Arnaud Boutonne", "C0""Arnaud Boutonn\351", "", "C1""CGE", |