mirror of https://github.com/stella-emu/stella.git
Safety belt.
This commit is contained in:
parent
4e6df63bcd
commit
7dd2103c89
|
@ -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