From a78c19c806fa5040c0ef5b991a0209a37babac83 Mon Sep 17 00:00:00 2001 From: Ignacio Sanchez Gines <863613+drhelius@users.noreply.github.com> Date: Sun, 29 Dec 2024 10:44:04 +0100 Subject: [PATCH] [libretro] Changing aspect ratio does not require restart --- platforms/libretro/libretro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/libretro/libretro.cpp b/platforms/libretro/libretro.cpp index bb029f46..f4db8adc 100644 --- a/platforms/libretro/libretro.cpp +++ b/platforms/libretro/libretro.cpp @@ -61,7 +61,7 @@ static bool libretro_supports_bitmasks; static float aspect_ratio = 0.0f; static int current_screen_width = 0; static int current_screen_height = 0; -static int current_aspect_ratio = 0; +static float current_aspect_ratio = 0; static GearsystemCore* core; static u8* frame_buffer;