First stab at getting retriggering delays correct.

This commit is contained in:
Christian Speckner 2016-12-05 20:32:47 +01:00
parent 4025b00ce0
commit 61155ace46
1 changed files with 3 additions and 0 deletions

View File

@ -96,6 +96,9 @@ void Player::nusiz(uInt8 value)
void Player::resp(bool hblank)
{
myCounter = hblank ? 159 : 157;
if (myIsRendering && myRenderCounter < -1)
myRenderCounter = Count::renderCounterOffset;
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -