mirror of https://github.com/stella-emu/stella.git
Prevent enabling phosphor when cycling through global options (fixes #672)
This commit is contained in:
parent
0a3d18ee65
commit
91ddcaecfa
|
@ -525,8 +525,11 @@ void Console::changePhosphor(int direction)
|
|||
{
|
||||
int blend = BSPF::stringToInt(myProperties.get(PropType::Display_PPBlend));
|
||||
|
||||
if(direction)
|
||||
{
|
||||
blend = BSPF::clamp(blend + direction * 2, 0, 100);
|
||||
myOSystem.frameBuffer().tiaSurface().enablePhosphor(true, blend);
|
||||
}
|
||||
|
||||
ostringstream val;
|
||||
val << blend;
|
||||
|
|
Loading…
Reference in New Issue