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