mirror of
https://github.com/libretro/stella2023.git
synced 2024-11-23 17:10:01 +00:00
fixed zoom clamping
This commit is contained in:
parent
0367923a77
commit
074c6ae4ca
@ -1239,7 +1239,7 @@ void FrameBuffer::switchVideoMode(int direction)
|
||||
else if(direction == -1) zoom -= ZOOM_STEPS;
|
||||
|
||||
// Make sure the level is within the allowable desktop size
|
||||
zoom = BSPF::clampw(zoom, supportedTIAMinZoom(), supportedTIAMaxZoom());
|
||||
zoom = BSPF::clamp(zoom, supportedTIAMinZoom(), supportedTIAMaxZoom());
|
||||
myOSystem.settings().setValue("tia.zoom", zoom);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user