diff --git a/src/sound.cpp b/src/sound.cpp index cdbf7901..966e63ef 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -736,7 +736,7 @@ static void RDoTriangle(void) int32 count = SOUNDTS - ChannelBC[2]; while(count--) { - *start += tcout; + *start += (tcout/100*FSettings.TriangleVolume)&(~0xFFFF); start++; } //for(V=ChannelBC[2];V