From 501ac3a5734c498f372774b4a88f6ce15350c585 Mon Sep 17 00:00:00 2001 From: David Griswold Date: Tue, 4 Mar 2025 14:37:57 -0300 Subject: [PATCH] type conversion fix for windows --- src/core/frontend/framebuffer_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp index 108ea8013..4933b792f 100644 --- a/src/core/frontend/framebuffer_layout.cpp +++ b/src/core/frontend/framebuffer_layout.cpp @@ -156,7 +156,7 @@ FramebufferLayout LargeFrameLayout(u32 width, u32 height, bool swapped, bool upr // shift the large screen so it is at the top position of the bounding rectangle large_screen = large_screen.TranslateY((height - total_rect.GetHeight()) / 2); } - gap *= scale_amount; + gap = static_cast(static_cast(gap) * scale_amount); switch (small_screen_position) { case Settings::SmallScreenPosition::TopRight: