diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index 1f828ee94..be2907fe9 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -525,8 +525,11 @@ void Console::changePhosphor(int direction) { int blend = BSPF::stringToInt(myProperties.get(PropType::Display_PPBlend)); - blend = BSPF::clamp(blend + direction * 2, 0, 100); - myOSystem.frameBuffer().tiaSurface().enablePhosphor(true, blend); + if(direction) + { + blend = BSPF::clamp(blend + direction * 2, 0, 100); + myOSystem.frameBuffer().tiaSurface().enablePhosphor(true, blend); + } ostringstream val; val << blend;