From f0b8895350358fec5f21b2879d2dc3072450f8f8 Mon Sep 17 00:00:00 2001 From: KamFretoZ <14798312+kamfretoz@users.noreply.github.com> Date: Sat, 18 May 2024 21:58:54 +0700 Subject: [PATCH] FSUI: Gate HW Download mode behind per-game settings Just like how it was on Qt. --- pcsx2/ImGui/FullscreenUI.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pcsx2/ImGui/FullscreenUI.cpp b/pcsx2/ImGui/FullscreenUI.cpp index b50f96d778..6396d91a62 100644 --- a/pcsx2/ImGui/FullscreenUI.cpp +++ b/pcsx2/ImGui/FullscreenUI.cpp @@ -3904,9 +3904,12 @@ void FullscreenUI::DrawGraphicsSettingsPage(SettingsInterface* bsi, bool show_ad DrawToggleSetting(bsi, FSUI_CSTR("Disable Threaded Presentation"), FSUI_CSTR("Presents frames on the main GS thread instead of a worker thread. Used for debugging frametime issues."), "EmuCore/GS", "DisableThreadedPresentation", false); - DrawIntListSetting(bsi, FSUI_CSTR("Hardware Download Mode"), FSUI_CSTR("Changes synchronization behavior for GS downloads."), - "EmuCore/GS", "HWDownloadMode", static_cast(GSHardwareDownloadMode::Enabled), s_hw_download, std::size(s_hw_download), - true); + if (IsEditingGameSettings(bsi)) + { + DrawIntListSetting(bsi, FSUI_CSTR("Hardware Download Mode"), FSUI_CSTR("Changes synchronization behavior for GS downloads."), + "EmuCore/GS", "HWDownloadMode", static_cast(GSHardwareDownloadMode::Enabled), s_hw_download, std::size(s_hw_download), + true); + } DrawIntListSetting(bsi, FSUI_CSTR("Allow Exclusive Fullscreen"), FSUI_CSTR("Overrides the driver's heuristics for enabling exclusive fullscreen, or direct flip/scanout."), "EmuCore/GS", "ExclusiveFullscreenControl", -1, s_generic_options, std::size(s_generic_options), true, -1,