From 1b14ed21a9fa61327b1aff950fbebb2ae478ee4c Mon Sep 17 00:00:00 2001 From: thrust26 Date: Thu, 19 Dec 2019 19:54:09 +0100 Subject: [PATCH] correct silencing fix --- src/emucore/Console.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index 7172d3e90..c3f6d59f2 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -682,7 +682,7 @@ void Console::changeVerticalCenter(int direction) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Console::updateVcenter(Int32 vcenter) { - if ((vcenter > TIAConstants::maxVcenter) | (vcenter < TIAConstants::minVcenter)) + if ((vcenter > TIAConstants::maxVcenter) || (vcenter < TIAConstants::minVcenter)) return; if (vcenter != myTIA->vcenter()) myTIA->setVcenter(vcenter);