From a854ed2da1ce3193862b95abf2eee4542b6e9e49 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 5 Nov 2024 13:29:58 +1000 Subject: [PATCH] Qt: Use game start fullscreen flag for BP too --- src/duckstation-qt/qthost.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/duckstation-qt/qthost.cpp b/src/duckstation-qt/qthost.cpp index 108700946..a6f08febc 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -776,9 +776,12 @@ void EmuThread::startFullscreenUI() m_is_rendering_to_main = shouldRenderToMain(); m_run_fullscreen_ui = true; + // borrow the game start fullscreen flag + const bool start_fullscreen = + (s_start_fullscreen_ui_fullscreen || Host::GetBaseBoolSettingValue("Main", "StartFullscreen", false)); + Error error; - if (!Host::CreateGPUDevice(Settings::GetRenderAPIForRenderer(g_settings.gpu_renderer), - s_start_fullscreen_ui_fullscreen, &error) || + if (!Host::CreateGPUDevice(Settings::GetRenderAPIForRenderer(g_settings.gpu_renderer), start_fullscreen, &error) || !FullscreenUI::Initialize()) { Host::ReportErrorAsync("Error", error.GetDescription());