This commit is contained in:
thrust26 2018-01-17 19:29:36 +01:00
parent f241dfd7b7
commit a6bea6438f
1 changed files with 3 additions and 4 deletions

View File

@ -812,10 +812,9 @@ void TIA::update()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool TIA::enableColorLoss(bool enabled) bool TIA::enableColorLoss(bool enabled)
{ {
if (consoleTiming() != ConsoleTiming::pal) bool allowColorLoss = consoleTiming() == ConsoleTiming::pal;
return false;
if(enabled) if(allowColorLoss && enabled)
{ {
myColorLossEnabled = true; myColorLossEnabled = true;
myColorLossActive = myFrameManager->scanlinesLastFrame() & 0x1; myColorLossActive = myFrameManager->scanlinesLastFrame() & 0x1;
@ -833,7 +832,7 @@ bool TIA::enableColorLoss(bool enabled)
myBackground.applyColorLoss(); myBackground.applyColorLoss();
} }
return true; return allowColorLoss;
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -