Try to implement side effects of nusiz after draw dispatch -> fixes meltdown.

This commit is contained in:
Christian Speckner 2016-12-17 15:17:40 +01:00
parent 48d90768f3
commit d77d2f2e61
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ void Player::nusiz(uInt8 value)
if (myIsRendering && myRenderCounter >= myWidth)
myIsRendering = false;
if (myIsRendering && myRenderCounter < -2 && myWidth > 8 && oldWidth == 8)
myRenderCounter -= 2;
if (oldWidth != myWidth) updatePattern();
}