Update Cheevos to use internal functions

This commit is contained in:
icenine451 2022-10-14 15:14:07 -04:00
parent e21beab26c
commit b42d046c20
2 changed files with 5 additions and 5 deletions

View file

@ -83,7 +83,7 @@ move() {
set_setting() {
# Function for editing settings
# USAGE: set_setting $setting_file $setting_name $new_setting_value $system (needed as different systems use different config file syntax)
# NOTES: Citra, Yuzu and RPCS3 have special conditions, see comments below
# NOTES: RPCS3 has special conditions, see comments below
case $4 in

View file

@ -216,11 +216,11 @@ configurator_retroachivement_dialog() {
user=${arrIN[0]}
pass=${arrIN[1]}
#sed -i "s%cheevos_enable =.*%cheevos_enable = \"true\"%" $raconf
#sed -i "s%cheevos_username =.*%cheevos_username = \"$user\"%" $raconf
#sed -i "s%cheevos_password =.*%cheevos_password = \"$pass\"%" $raconf
#set_setting $raconf cheevos_enable true retroarch
#set_setting $raconf cheevos_username $user retroarch
#set_setting $raconf cheevos_password $pass retroarch
debug_dialog "sed -i "s%cheevos_enable =.*%cheevos_enable = \"true\"%" $raconf\n\nsed -i "s%cheevos_username =.*%cheevos_username = \"$user\"%" $raconf\n\nsed -i "s%cheevos_password =.*%cheevos_password = \"$pass\"%" $raconf"
debug_dialog "set_setting $raconf cheevos_enable true retroarch\n\nset_setting $raconf cheevos_username $user retroarch\n\nset_setting $raconf cheevos_password $pass retroarch"
configurator_process_complete_dialog "logging in to RetroAchievements"
}