minor zoom fix

This commit is contained in:
thrust26 2023-08-27 11:13:37 +02:00
parent 21879be8ab
commit e76b91720d
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ FBInitStatus FrameBuffer::createDisplay(string_view title, BufferType type,
const double currentTIAZoom =
static_cast<double>(myOSystem.settings().getFloat("tia.zoom"));
myOSystem.settings().setValue("tia.zoom",
BSPF::clampw(currentTIAZoom, supportedTIAMinZoom(), supportedTIAMaxZoom()));
BSPF::clamp(currentTIAZoom, supportedTIAMinZoom(), supportedTIAMaxZoom()));
}
#ifdef GUI_SUPPORT // TODO: put message stuff in its own class