System: Fix UpdateGTEAspectRatio() during initialization

This commit is contained in:
Stenzek 2024-12-15 22:04:17 +10:00
parent 1f1a664908
commit 43af57d735
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -5762,7 +5762,7 @@ void System::DisplayWindowResized()
void System::UpdateGTEAspectRatio() void System::UpdateGTEAspectRatio()
{ {
if (!IsValid()) if (!IsValidOrInitializing())
return; return;
DisplayAspectRatio gte_ar = g_settings.display_aspect_ratio; DisplayAspectRatio gte_ar = g_settings.display_aspect_ratio;