From 7728a2996a32ffdca6cbe06da685fa352804ceb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 9 Mar 2026 19:00:44 +0100 Subject: [PATCH] Avoid emitting the "Audio backend" itemheader twice on SDL --- UI/GameSettingsScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 4fd3ecd9ce..17b655930f 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -805,10 +805,10 @@ void GameSettingsScreen::CreateAudioSettings(UI::ViewGroup *audioSettings) { const bool isWindows = true; #else const bool isWindows = false; - audioSettings->Add(new ItemHeader(a->T("Audio backend"))); - if (sdlAudio) { audioSettings->Add(new CheckBox(&g_Config.bAutoSwitchAudioDevice, a->T("Use new audio devices automatically"))); + } else { + audioSettings->Add(new ItemHeader(a->T("Audio backend"))); } #if PPSSPP_PLATFORM(ANDROID)