[Scummvm-git-logs] scummvm master -> ef58e71bbf59f40214068293be8c12f6c481889e

sev- noreply at scummvm.org
Fri Jun 21 12:59:24 UTC 2024


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

Summary:
27503e46a2 COMMON: Implement sanity check to adding debug channels
ef58e71bbf WINTERMUTE: Added detection for English version of lostbride


Commit: 27503e46a21cd5f8d1bb24901be19fe1ec8932aa
    https://github.com/scummvm/scummvm/commit/27503e46a21cd5f8d1bb24901be19fe1ec8932aa
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-06-21T14:59:07+02:00

Commit Message:
COMMON: Implement sanity check to adding debug channels

Changed paths:
    common/debug.cpp


diff --git a/common/debug.cpp b/common/debug.cpp
index 3886af49217..3e763e017b7 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -162,9 +162,14 @@ bool DebugManager::isDebugChannelEnabled(uint32 channel, bool enforce) {
 }
 
 void DebugManager::addDebugChannels(const DebugChannelDef *channels) {
+	int added = 0;
 	for (uint i = 0; channels[i].channel != 0; ++i) {
 		addDebugChannel(channels[i].channel, channels[i].name, channels[i].description);
+		added++;
 	}
+
+	if (!added)
+		warning("DebugManager::addDebugChannels(): No debug channels were added, list is empty");
 }
 
 } // End of namespace Common


Commit: ef58e71bbf59f40214068293be8c12f6c481889e
    https://github.com/scummvm/scummvm/commit/ef58e71bbf59f40214068293be8c12f6c481889e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-06-21T14:59:07+02:00

Commit Message:
WINTERMUTE: Added detection for English version of lostbride

Changed paths:
    engines/wintermute/detection_tables.h


diff --git a/engines/wintermute/detection_tables.h b/engines/wintermute/detection_tables.h
index f0410c42620..2ad9e12688d 100644
--- a/engines/wintermute/detection_tables.h
+++ b/engines/wintermute/detection_tables.h
@@ -1752,6 +1752,10 @@ static const WMEGameDescription gameDescriptions[] = {
 	WME_WINENTRY("lostbride", "",
 		WME_ENTRY1s("data.dcp", "cb45b579c6d5767341a9b07bc807df5f", 106683613), Common::RU_RUS, ADGF_UNSTABLE, WME_1_9_1),
 
+	// Tale of The Lost Bride and A Hidden Treasure (Englist)
+	WME_WINENTRY("lostbride", "",
+		WME_ENTRY1s("data.dcp", "c3c7a646d473914e495c4852f312eb76", 101119036), Common::EN_ANY, ADGF_UNSTABLE, WME_1_9_1),
+
 	// Machu Mayu (Demo)
 	WME_WINENTRY("machumayu", "Demo",
 		WME_ENTRY1s("data.dcp", "79f17943b93c3ff37b5544a5da0d17d0", 12328601), Common::EN_ANY, ADGF_UNSTABLE | ADGF_DEMO, WME_1_9_1),




More information about the Scummvm-git-logs mailing list