[Scummvm-git-logs] scummvm master -> 605a184e6bf31106d9dc06310152e94583cc4beb
digitall
noreply at scummvm.org
Mon May 22 22:12:11 UTC 2023
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:
605a184e6b DRAGONS: Print less noisy debug output by default
Commit: 605a184e6bf31106d9dc06310152e94583cc4beb
https://github.com/scummvm/scummvm/commit/605a184e6bf31106d9dc06310152e94583cc4beb
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2023-05-22T23:12:07+01:00
Commit Message:
DRAGONS: Print less noisy debug output by default
Changed paths:
engines/dragons/dragons.cpp
engines/dragons/vabsound.cpp
diff --git a/engines/dragons/dragons.cpp b/engines/dragons/dragons.cpp
index bbe63265e4e..3eabac51abe 100644
--- a/engines/dragons/dragons.cpp
+++ b/engines/dragons/dragons.cpp
@@ -283,7 +283,6 @@ Common::Error DragonsEngine::run() {
delete _sound;
delete _strPlayer;
- debug("Ok");
return Common::kNoError;
}
diff --git a/engines/dragons/vabsound.cpp b/engines/dragons/vabsound.cpp
index 9fd68a11e34..7ba49da4544 100644
--- a/engines/dragons/vabsound.cpp
+++ b/engines/dragons/vabsound.cpp
@@ -179,7 +179,7 @@ int16 VabSound::getBaseToneKey(uint16 program, uint16 key) {
if (program < _header.numVAG) {
for (int i = 0; i < _programAttrs[program].tones; i++) {
if (_toneAttrs[i].prog == program && _toneAttrs[i].min <= key && _toneAttrs[i].max >= key) {
- debug("tone key %d center %d mode %d shift %d min %d, max %d adsr 1 %d adsr 2 %d pbmin %d pbmax %d",
+ debug(3, "tone key %d center %d mode %d shift %d min %d, max %d adsr 1 %d adsr 2 %d pbmin %d pbmax %d",
key, _toneAttrs[i].center, _toneAttrs[i].mode, _toneAttrs[i].shift, _toneAttrs[i].min, _toneAttrs[i].max,
_toneAttrs[i].adsr1, _toneAttrs[i].adsr2, _toneAttrs[i].pbmin, _toneAttrs[i].pbmax);
return _toneAttrs[i].center;
More information about the Scummvm-git-logs
mailing list