Safety belt.

This commit is contained in:
Christian Speckner 2019-12-19 18:12:20 +01:00
parent 84fe53c673
commit c324f1ce82
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ Int32 FrameManager::missingScanlines() const
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void FrameManager::setVcenter(Int32 vcenter)
{
if (vcenter < TIAConstants::minVcenter || vcenter > TIAConstants::maxVcenter) return;
myVcenter = vcenter;
updateYStart();
}