[Scummvm-cvs-logs] scummvm master -> b8f6257dded94aeef9b8290801353ca19137c60a

athrxx athrxx at scummvm.org
Sun Jul 10 22:22:17 CEST 2011


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:
b8f6257dde SCUMM: minor bug fix in FM-Towns midi driver


Commit: b8f6257dded94aeef9b8290801353ca19137c60a
    https://github.com/scummvm/scummvm/commit/b8f6257dded94aeef9b8290801353ca19137c60a
Author: athrxx (athrxx at scummvm.org)
Date: 2011-07-10T13:19:32-07:00

Commit Message:
SCUMM: minor bug fix in FM-Towns midi driver

Changed paths:
    audio/softsynth/fmtowns_pc98/towns_midi.cpp



diff --git a/audio/softsynth/fmtowns_pc98/towns_midi.cpp b/audio/softsynth/fmtowns_pc98/towns_midi.cpp
index e415a0d..d69ed73 100644
--- a/audio/softsynth/fmtowns_pc98/towns_midi.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_midi.cpp
@@ -464,9 +464,10 @@ int TownsMidiOutputChannel::advanceEffectEnvelope(EffectEnvelope *s, EffectDef *
 		s->currentLevel = t;
 		s->modWheelLast = s->modWheelState;
 		t = getEffectModLevel(t, s->modWheelState);
-		if (t != d->phase)
+		if (t != d->phase) {
 			d->phase = t;
-		retFlags |= 1;
+			retFlags |= 1;
+		}
 	}
 
 	if (--s->stepCounter)






More information about the Scummvm-git-logs mailing list