Skip to content

Commit

Permalink
minor zoom fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thrust26 committed Aug 27, 2023
1 parent 21879be commit e76b917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emucore/FrameBuffer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e76b917

Please sign in to comment.