[Scummvm-git-logs] scummvm master -> 25e8cb8881a309e6b21dd5528b96c740ddfb579c

lephilousophe lephilousophe at users.noreply.github.com
Sun Oct 24 15:00:31 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
25e8cb8881 CRYOMNI3D: Fix save filename pattern


Commit: 25e8cb8881a309e6b21dd5528b96c740ddfb579c
    https://github.com/scummvm/scummvm/commit/25e8cb8881a309e6b21dd5528b96c740ddfb579c
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-10-24T16:58:23+02:00

Commit Message:
CRYOMNI3D: Fix save filename pattern

Changed paths:
    engines/cryomni3d/versailles/saveload.cpp


diff --git a/engines/cryomni3d/versailles/saveload.cpp b/engines/cryomni3d/versailles/saveload.cpp
index 4a0fd4209f..705557e0e1 100644
--- a/engines/cryomni3d/versailles/saveload.cpp
+++ b/engines/cryomni3d/versailles/saveload.cpp
@@ -61,7 +61,7 @@ void CryOmni3DEngine_Versailles::getSavesList(bool visit, Common::StringArray &s
 	char saveName[kSaveDescriptionLen + 1];
 	// Terminate saveName here forever (we don't overrun kSaveDescriptionLen)
 	saveName[kSaveDescriptionLen] = '\0';
-	Common::String pattern = Common::String::format("%s%s.????", _targetName.c_str(),
+	Common::String pattern = Common::String::format("%s%s.####", _targetName.c_str(),
 	                         visit ? "_visit" : "");
 	Common::StringArray filenames = _saveFileMan->listSavefiles(pattern);
 	sort(filenames.begin(), filenames.end());   // Sort (hopefully ensuring we are sorted numerically..)




More information about the Scummvm-git-logs mailing list