Fixed the fix.

This commit is contained in:
thrust26 2017-09-17 17:28:03 +02:00
parent f0ced8ae4c
commit 5b0965ad6c
1 changed files with 2 additions and 1 deletions

View File

@ -231,7 +231,8 @@ void TIASurface::enableScanlineInterpolation(bool enable)
void TIASurface::enablePhosphor(bool enable, int blend)
{
myUsePhosphor = enable;
myPhosphorPercent = blend / 100.0;
if(blend >= 0)
myPhosphorPercent = blend / 100.0;
myFilter = Filter(enable ? uInt8(myFilter) | 0x01 : uInt8(myFilter) & 0x10);
myTiaSurface->setDirty();