CONFIGURATOR: fixed reset all emulators and components entry and GZDoom entry

This commit is contained in:
XargonWan 2024-03-19 09:18:08 +01:00
parent 2fcd7ae89c
commit 47c240b07c
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 35d4fce1b9959b8568838659ea7e8c239139d3c8 Subproject commit ea1dae930a6f61388c2b5e05f95bb6ed0120926e

View file

@ -1145,7 +1145,7 @@ configurator_reset_dialog() {
fi fi
;; ;;
"Cemu" | "Citra" | "Dolphin" | "Duckstation" | "MelonDS" | "MAME" | "PCSX2" | "PPSSPP" | "Primehack" | "RPCS3" | "Ryujinx" ) "Cemu" | "Citra" | "Dolphin" | "Duckstation" | "GZDoom" | "MelonDS" | "MAME" | "PCSX2" | "PPSSPP" | "Primehack" | "RPCS3" | "Ryujinx" )
if [[ $(configurator_reset_confirmation_dialog "$component_to_reset" "Are you sure you want to reset the $component_to_reset emulator to default settings?\n\nThis process cannot be undone.") == "true" ]]; then if [[ $(configurator_reset_confirmation_dialog "$component_to_reset" "Are you sure you want to reset the $component_to_reset emulator to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
prepare_component "reset" "$component_to_reset" "configurator" prepare_component "reset" "$component_to_reset" "configurator"
configurator_process_complete_dialog "resetting $component_to_reset" configurator_process_complete_dialog "resetting $component_to_reset"
@ -1191,7 +1191,7 @@ configurator_reset_dialog() {
esac esac
;; ;;
"Reset All Emulators" ) "Reset All Emulators and Components" )
log i "Configurator: opening \"$choice\" menu" log i "Configurator: opening \"$choice\" menu"
if [[ $(check_network_connectivity) == "true" ]]; then if [[ $(check_network_connectivity) == "true" ]]; then
if [[ $(configurator_reset_confirmation_dialog "all emulators" "Are you sure you want to reset all emulators to default settings?\n\nThis process cannot be undone.") == "true" ]]; then if [[ $(configurator_reset_confirmation_dialog "all emulators" "Are you sure you want to reset all emulators to default settings?\n\nThis process cannot be undone.") == "true" ]]; then