From 9c3e4c78c8e54a10c4fc6797ca5c7c75a67e6f6f Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 5 Aug 2022 17:06:02 +1000 Subject: [PATCH] System: Fix match window aspect ratio not working on startup --- src/core/gte.cpp | 2 +- src/core/system.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/gte.cpp b/src/core/gte.cpp index 7b39a6ae7..9c4e03f03 100644 --- a/src/core/gte.cpp +++ b/src/core/gte.cpp @@ -157,7 +157,7 @@ ALWAYS_INLINE static u32 TruncateRGB(s32 value) void Initialize() { - UpdateAspectRatio(); + s_aspect_ratio = DisplayAspectRatio::R4_3; Reset(); } diff --git a/src/core/system.cpp b/src/core/system.cpp index c0e9c0a25..2cac6d772 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -1267,6 +1267,8 @@ bool System::Initialize(bool force_software_renderer) return false; } + GTE::UpdateAspectRatio(); + if (g_settings.gpu_pgxp_enable) PGXP::Initialize();