mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Avoid emitting the "Audio backend" itemheader twice on SDL
This commit is contained in:
1 parent
24fb1f90ee
commit
7728a2996a
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user