From 72710aa32393a7bdbf5f174c972d1a0911ea73dd Mon Sep 17 00:00:00 2001 From: thrust26 Date: Thu, 23 Nov 2017 10:46:22 +0100 Subject: [PATCH] manual color-loss toggling fixed --- src/emucore/Console.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index fa3bbf1c0..0b5023f1f 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -360,10 +360,10 @@ void Console::toggleFormat(int direction) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Console::toggleColorLoss() { - bool devSettings = myOSystem.settings().getBool("dev.settings"); - bool colorloss = !(devSettings && myOSystem.settings().getBool("dev.colorloss")); + bool colorloss = !myOSystem.settings().getBool("dev.colorloss"); if(myTIA->enableColorLoss(colorloss)) { + myOSystem.settings().setValue("dev.colorloss", colorloss); string message = string("PAL color-loss ") + (colorloss ? "enabled" : "disabled"); myOSystem.frameBuffer().showMessage(message);