AUDIO: Reorganize settings

Move DSP and FPS above the slug selection so that all slug specific settings are after the slug selection.
This commit is contained in:
Christoph "baka0815" Schwerdtfeger 2019-05-02 18:41:45 +02:00
parent 0a3c361da2
commit 684ba26ec0
1 changed files with 7 additions and 6 deletions

View File

@ -1026,6 +1026,13 @@ static void gui_display_settings()
ImGui::SameLine(); ImGui::SameLine();
ShowHelpMarker("Disable the emulator sound output"); ShowHelpMarker("Disable the emulator sound output");
ImGui::Checkbox("Enable DSP", &settings.aica.NoBatch);
ImGui::SameLine();
ShowHelpMarker("Enable the Dreamcast Digital Sound Processor. Only recommended on fast and arm64 platforms");
ImGui::Checkbox("Limit FPS", &settings.aica.LimitFPS);
ImGui::SameLine();
ShowHelpMarker("Use the sound output to limit the speed of the emulator. Recommended in most cases");
audiobackend_t* backend = NULL;; audiobackend_t* backend = NULL;;
std::string backend_name = settings.audio.backend; std::string backend_name = settings.audio.backend;
if (backend_name != "auto" && backend_name != "none") if (backend_name != "auto" && backend_name != "none")
@ -1118,12 +1125,6 @@ static void gui_display_settings()
} }
} }
ImGui::Checkbox("Enable DSP", &settings.aica.NoBatch);
ImGui::SameLine();
ShowHelpMarker("Enable the Dreamcast Digital Sound Processor. Only recommended on fast and arm64 platforms");
ImGui::Checkbox("Limit FPS", &settings.aica.LimitFPS);
ImGui::SameLine();
ShowHelpMarker("Use the sound output to limit the speed of the emulator. Recommended in most cases");
ImGui::PopStyleVar(); ImGui::PopStyleVar();
ImGui::EndTabItem(); ImGui::EndTabItem();
} }