Fix an oversight.

This commit is contained in:
Christian Speckner 2017-01-21 00:59:29 +01:00
parent 6070291769
commit ac14e40bff
1 changed files with 5 additions and 3 deletions

View File

@ -86,11 +86,13 @@ void Player::nusiz(uInt8 value)
// This is an incomplete description of the effects seen in issues #87 and #82. More investigation
// is required for a complete description (#63)
if (myIsRendering && myRenderCounter >= (8 - myWidth - 2) && oldWidth == 8 && myWidth != oldWidth) {
if (myIsRendering && myRenderCounter >= (8 - myWidth - 2) && oldWidth == 8 && myWidth != oldWidth)
myEffectiveWidth = 8;
} else {
else
myEffectiveWidth = oldWidth;
}
if (myRenderCounter >= myEffectiveWidth)
myIsRendering = false;
// NUSIZ during decode seems to affect the decoding logic. The rods in Meltdown
// are highly sensitive to this effect, and this seems to model it adequately.