mirror of https://github.com/stella-emu/stella.git
manual color-loss toggling fixed
This commit is contained in:
parent
cddf4f2f2a
commit
72710aa323
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue