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