From 81bef43e800c73060c65b75c2c60071b2f3678cb 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 f0698ac80..76a4a75da 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -1033,15 +1033,7 @@ namespace Ryujinx.Ava _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; }