Skip to content

Commit

Permalink
Small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Dec 27, 2024
1 parent c727033 commit 1e6ecbd
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/Ryujinx/AppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1e6ecbd

Please sign in to comment.