Skip to content

Commit

Permalink
System: Fix UpdateGTEAspectRatio() during initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 15, 2024
1 parent 1f1a664 commit 43af57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5762,7 +5762,7 @@ void System::DisplayWindowResized()

void System::UpdateGTEAspectRatio()
{
if (!IsValid())
if (!IsValidOrInitializing())
return;

DisplayAspectRatio gte_ar = g_settings.display_aspect_ratio;
Expand Down

0 comments on commit 43af57d

Please sign in to comment.