UI: Option to automatically Hide UI when game launches

Quality of life feature
Similar in function to the "Start Games in Fullscreen" toggle
For users who want to run games in windowed/non-fullscreen mode with
menu UI hidden, this eliminates the need to always click "Hide UI"
This commit is contained in:
asfasagag 2025-01-21 15:36:51 -08:00 committed by KeatonTheBot
parent 33955c1cb0
commit 772233d003
6 changed files with 66 additions and 2 deletions

View file

@ -1031,7 +1031,7 @@ namespace Ryujinx.Ava
_viewModel.WindowState = WindowState.FullScreen;
}
if (_viewModel.WindowState == WindowState.FullScreen)
if (_viewModel.WindowState == WindowState.FullScreen || _viewModel.StartGamesWithoutUI)
{
_viewModel.ShowMenuAndStatusBar = false;
}