fixed zoom clamping

This commit is contained in:
thrust26 2023-08-27 22:39:50 +02:00
parent 0367923a77
commit 074c6ae4ca

View File

@ -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