[Scummvm-git-logs] scummvm master -> 8e9c93938e5f3e8eb8e02ecd52d859944dcda9a7
sluicebox
noreply at scummvm.org
Mon Dec 20 17:42:50 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:
8e9c93938e SCI: Use LSL5 patch directory name
Commit: 8e9c93938e5f3e8eb8e02ecd52d859944dcda9a7
https://github.com/scummvm/scummvm/commit/8e9c93938e5f3e8eb8e02ecd52d859944dcda9a7
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-12-20T12:42:42-05:00
Commit Message:
SCI: Use LSL5 patch directory name
Changed paths:
engines/sci/sci.cpp
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 0e21cb6323..477bb34f8d 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -176,6 +176,12 @@ SciEngine::SciEngine(OSystem *syst, const ADGameDescription *desc, SciGameId gam
// Some releases (e.g. Pointsoft Torin) use a different patch directory name
SearchMan.addSubDirectoryMatching(gameDataDir, "patch"); // resource patches
+ // LSL5 uses the name "bonus" for the patch directory on disk 1.
+ // The installer would copy these patches to the root game directory.
+ if (_gameId == GID_LSL5) {
+ SearchMan.addSubDirectoryMatching(gameDataDir, "bonus"); // resource patches
+ }
+
switch (desc->language) {
case Common::DE_DEU:
SearchMan.addSubDirectoryMatching(gameDataDir, "german/msg");
More information about the Scummvm-git-logs
mailing list