mirror of https://github.com/stella-emu/stella.git
silence compiler
This commit is contained in:
parent
b0efaa6830
commit
fccee3e672
|
@ -682,7 +682,8 @@ void Console::changeVerticalCenter(int direction)
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void Console::updateVcenter(Int32 vcenter)
|
void Console::updateVcenter(Int32 vcenter)
|
||||||
{
|
{
|
||||||
if (vcenter > TIAConstants::maxVcenter | vcenter < TIAConstants::minVcenter) return;
|
if ((vcenter > TIAConstants::maxVcenter) | (vcenter < TIAConstants::minVcenter))
|
||||||
|
return;
|
||||||
|
|
||||||
if (vcenter != myTIA->vcenter()) myTIA->setVcenter(vcenter);
|
if (vcenter != myTIA->vcenter()) myTIA->setVcenter(vcenter);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue