[Scummvm-git-logs] scummvm master -> 5006b1a50c3715dc0dd1e7a2359c2a1bf66d087f

NMIError 60350957+NMIError at users.noreply.github.com
Mon Oct 4 18:35:32 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:
5006b1a50c SAGA: Add scanning music subdir during detection


Commit: 5006b1a50c3715dc0dd1e7a2359c2a1bf66d087f
    https://github.com/scummvm/scummvm/commit/5006b1a50c3715dc0dd1e7a2359c2a1bf66d087f
Author: Coen Rampen (crampen at gmail.com)
Date: 2021-10-04T20:35:22+02:00

Commit Message:
SAGA: Add scanning music subdir during detection

Scanning the music subdirectory is now necessary for detecting the Windows
version of Inherit The Earth.

Changed paths:
    engines/saga/detection.cpp


diff --git a/engines/saga/detection.cpp b/engines/saga/detection.cpp
index b881ee015e..ea9f501c4c 100644
--- a/engines/saga/detection.cpp
+++ b/engines/saga/detection.cpp
@@ -38,6 +38,9 @@ static const PlainGameDescriptor sagaGames[] = {
 class SagaMetaEngineDetection : public AdvancedMetaEngineDetection {
 public:
 	SagaMetaEngineDetection() : AdvancedMetaEngineDetection(Saga::gameDescriptions, sizeof(Saga::SAGAGameDescription), sagaGames) {
+		static const char *const DIRECTORY_GLOBS[2] = { "music", 0 };
+		_maxScanDepth = 2;
+		_directoryGlobs = DIRECTORY_GLOBS;
 	}
 
 	const char *getEngineId() const override {




More information about the Scummvm-git-logs mailing list