From 1e6ecbd702911933d6b9ff56307ceb9f84ede03c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 22 Dec 2024 23:42:10 -0800 Subject: [PATCH] Small cleanup --- src/Ryujinx/AppHost.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index fad362ab5c..54769eabd1 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -1043,15 +1043,7 @@ private void RenderLoop() _viewModel.WindowState = WindowState.FullScreen; } - if (_viewModel.WindowState is WindowState.FullScreen) - { - _viewModel.ShowMenuAndStatusBar = false; - } - }); - - Dispatcher.UIThread.InvokeAsync(() => - { - if (_viewModel.StartGamesWithoutUI) + if ((_viewModel.WindowState is WindowState.FullScreen) || _viewModel.StartGamesWithoutUI) { _viewModel.ShowMenuAndStatusBar = false; }