mirror of https://github.com/stella-emu/stella.git
Safety belt.
This commit is contained in:
parent
84fe53c673
commit
c324f1ce82
|
@ -127,6 +127,8 @@ Int32 FrameManager::missingScanlines() const
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void FrameManager::setVcenter(Int32 vcenter)
|
||||
{
|
||||
if (vcenter < TIAConstants::minVcenter || vcenter > TIAConstants::maxVcenter) return;
|
||||
|
||||
myVcenter = vcenter;
|
||||
updateYStart();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue