From e76b91720defd8af33912a21d51934ac13c3619c Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sun, 27 Aug 2023 11:13:37 +0200 Subject: [PATCH] minor zoom fix --- src/emucore/FrameBuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/FrameBuffer.cxx b/src/emucore/FrameBuffer.cxx index af2e11f29..6cb38e580 100644 --- a/src/emucore/FrameBuffer.cxx +++ b/src/emucore/FrameBuffer.cxx @@ -287,7 +287,7 @@ FBInitStatus FrameBuffer::createDisplay(string_view title, BufferType type, const double currentTIAZoom = static_cast(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