[Scummvm-git-logs] scummvm master -> 293c365453961b0ae580836077f050931103e74d

athrxx noreply at scummvm.org
Tue Jun 13 23:00:07 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:
293c365453 KYRA: (EOB II/PC98) - remove unused var


Commit: 293c365453961b0ae580836077f050931103e74d
    https://github.com/scummvm/scummvm/commit/293c365453961b0ae580836077f050931103e74d
Author: athrxx (athrxx at scummvm.org)
Date: 2023-06-14T00:59:37+02:00

Commit Message:
KYRA: (EOB II/PC98) - remove unused var

Changed paths:
    engines/kyra/sound/drivers/capcom98.cpp


diff --git a/engines/kyra/sound/drivers/capcom98.cpp b/engines/kyra/sound/drivers/capcom98.cpp
index e8de05ec2a3..08424da1eb4 100644
--- a/engines/kyra/sound/drivers/capcom98.cpp
+++ b/engines/kyra/sound/drivers/capcom98.cpp
@@ -756,7 +756,6 @@ void CapcomPC98_FM_Channel::updatePitchBend() {
 
 void CapcomPC98_FM_Channel::updateVolume() {
 	uint8 cr = _carrier;
-	uint8 dbg[4];
 	const uint8 *s = _instrument.regData;
 	for (int i = _regOffset; i < 16 + _regOffset; i += 4) {
 		uint16 vol = 0;
@@ -798,8 +797,6 @@ void CapcomPC98_FM_Channel::updateVolume() {
 		_ac->writeReg(0, 0x40 + i, vol & 0xFF);
 		s += 13;
 		cr >>= 1;
-
-		dbg[i >> 2] = vol & 0xff;
 	}
 }
 




More information about the Scummvm-git-logs mailing list