mirror of https://github.com/stella-emu/stella.git
Fix undefined behavior for rsync during hblank.
This commit is contained in:
parent
6c815186a6
commit
d466022bcd
|
@ -1599,7 +1599,7 @@ void TIA::tickHblank()
|
|||
break;
|
||||
}
|
||||
|
||||
if (myExtendedHblank && myHctr > TIAConstants::H_BLANK_CLOCKS - 1)
|
||||
if (myExtendedHblank && myHctr - myHctrDelta > TIAConstants::H_BLANK_CLOCKS - 1)
|
||||
myPlayfield.tick(myHctr - TIAConstants::H_BLANK_CLOCKS - myHctrDelta);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue