aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Ryujinx/UI/Windows/MainWindow.axaml.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs
index 348412e7..1f57ada3 100644
--- a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs
+++ b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs
@@ -482,9 +482,7 @@ namespace Ryujinx.Ava.UI.Windows
LoadApplications();
}
-#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
- CheckLaunchState();
-#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
+ CheckLaunchState().Wait();
}
private void SetMainContent(Control content = null)