mirror of https://github.com/stella-emu/stella.git
Fixed the fix.
This commit is contained in:
parent
f0ced8ae4c
commit
5b0965ad6c
|
@ -231,7 +231,8 @@ void TIASurface::enableScanlineInterpolation(bool enable)
|
||||||
void TIASurface::enablePhosphor(bool enable, int blend)
|
void TIASurface::enablePhosphor(bool enable, int blend)
|
||||||
{
|
{
|
||||||
myUsePhosphor = enable;
|
myUsePhosphor = enable;
|
||||||
myPhosphorPercent = blend / 100.0;
|
if(blend >= 0)
|
||||||
|
myPhosphorPercent = blend / 100.0;
|
||||||
myFilter = Filter(enable ? uInt8(myFilter) | 0x01 : uInt8(myFilter) & 0x10);
|
myFilter = Filter(enable ? uInt8(myFilter) | 0x01 : uInt8(myFilter) & 0x10);
|
||||||
|
|
||||||
myTiaSurface->setDirty();
|
myTiaSurface->setDirty();
|
||||||
|
|
Loading…
Reference in New Issue