Add "quick resume" preset option to Configurator

This commit is contained in:
icenine451 2024-02-27 12:33:31 -05:00
parent b903fd390b
commit 9cb2ddd412

View file

@ -13,6 +13,7 @@ source /app/libexec/global.sh
# - Global: Presets & Settings
# - Widescreen: Enable/Disable
# - Ask-To-Exit: Enable/Disable
# - Quick Resume: Enable/Disable
# - RetroAchievements: Login
# - RetroAchievements: Logout
# - RetroAchievements: Hardcore Mode
@ -198,6 +199,7 @@ configurator_global_presets_and_settings_dialog() {
--column="Choice" --column="Action" \
"Widescreen: Enable/Disable" "Enable or disable widescreen in supported systems" \
"Ask-to-Exit: Enable/Disable" "Enable or disable emulators confirming when quitting in supported systems" \
"Quick Resume: Enable/Disable" "Enable or disable save state auto-save/load in supported systems" \
"RetroAchievements: Login" "Log into the RetroAchievements service in supported systems" \
"RetroAchievements: Logout" "Disable RetroAchievements service in ALL supported systems" \
"RetroAchievements: Hardcore Mode" "Enable RetroAchievements hardcore mode (no cheats, rewind, save states etc.) in supported systems" \
@ -216,6 +218,11 @@ configurator_global_presets_and_settings_dialog() {
configurator_global_presets_and_settings_dialog
;;
"Quick Resume: Enable/Disable" )
change_preset_dialog "quick_resume"
configurator_global_presets_and_settings_dialog
;;
"RetroAchievements: Login" )
local cheevos_creds=$(get_cheevos_token_dialog)
if [[ ! "$cheevos_creds" == "failed" ]]; then