arSnes var

This commit is contained in:
Rodrigo 2023-09-05 12:10:37 +02:00
parent 2159202cf5
commit 58684b484e
5 changed files with 9 additions and 18 deletions

View file

@ -2165,13 +2165,7 @@ RetroArch_retroAchievementsSetLogin(){
fi
}
RetroArch_setSNESAR(){
if [ "$SNESAR" == 87 ]; then
RetroArch_snes_ar87
else
RetroArch_snes_ar43
fi
}
RetroArch_setBezels(){
if [ "$RABezels" == true ]; then
RetroArch_bezelOnAll

View file

@ -39,7 +39,7 @@ Decky_shaders_3D(){
}
Decky_ar_snes(){
if [ "$SNESAR" == 87 ]; then
if [ "$arSnes" == 87 ]; then
RetroArch_snes_ar87
RetroArch_nes_ar87
else

View file

@ -302,7 +302,7 @@ if [ "$RUNCHOICE" == 1 ]; then
table+=( "selectEmulatorConfig" "Customize the emulator configuration reset. (note: Fixes will be skipped if boxes are unchecked)" ON )
table+=( "selectRABezels" "Turn on Bezels for Retroarch?" ON )
table+=( "selectRAAutoSave" "Turn on Retroarch AutoSave/Restore state?" ON )
table+=( "snesAR" "SNES 8:7 Aspect Ratio? (unchecked is 4:3)" ON )
table+=( "arSnes" "SNES 8:7 Aspect Ratio? (unchecked is 4:3)" ON )
table+=( "selectWideScreen" "Customize Emulator Widescreen Selection?" ON )
table+=( "setRAEnabled" "Enable Retroachievments in Retroarch?" ON )
table+=( "setRASignIn" "Change RetroAchievements Sign in?" ON )
@ -339,8 +339,8 @@ if [ "$RUNCHOICE" == 1 ]; then
if [[ "$expertModeFeatureList" == *"selectRAAutoSave"* ]]; then
setSetting RAautoSave true
fi
if [[ "$expertModeFeatureList" == *"snesAR"* ]]; then
setSetting SNESAR 43
if [[ "$expertModeFeatureList" == *"arSnes"* ]]; then
setSetting arSnes 43
fi
if [[ "$expertModeFeatureList" == *"selectWideScreen"* ]]; then
setSetting doSelectWideScreen true
@ -949,8 +949,6 @@ if [ "$zenity" == true ]; then
RetroArch_Flycast_wideScreenOff
fi
#RA SNES Aspect Ratio
RetroArch_setSNESAR #needs to change
else

View file

@ -60,7 +60,6 @@ installString='Installing'
#Default RetroArch configuration
RABezels=true
RAautoSave=false
SNESAR=43
#Default widescreen
duckWide=false

View file

@ -149,7 +149,7 @@ if [ "$expert" == "true" ]; then
table+=(TRUE "selectEmulatorConfig" "Customize the emulator configuration reset. (note: Fixes will be skipped if boxes are unchecked)")
table+=(TRUE "selectRABezels" "Turn on Bezels for Retroarch?")
table+=(TRUE "selectRAAutoSave" "Turn on Retroarch AutoSave/Restore state?")
table+=(TRUE "snesAR" "SNES 8:7 Aspect Ratio? (unchecked is 4:3)")
table+=(TRUE "arSnes" "SNES 8:7 Aspect Ratio? (unchecked is 4:3)")
table+=(TRUE "selectWideScreen" "Customize Emulator Widescreen Selection?")
table+=(TRUE "setRAEnabled" "Enable Retroachievments in Retroarch?")
table+=(TRUE "setRASignIn" "Change RetroAchievements Sign in?")
@ -218,10 +218,10 @@ if [ "$expert" == "true" ]; then
else
setSetting RAautoSave false
fi
if [[ "$expertModeFeatureList" == *"snesAR"* ]]; then
setSetting SNESAR 43
if [[ "$expertModeFeatureList" == *"arSnes"* ]]; then
setSetting arSnes 43
else
setSetting SNESAR 87
setSetting arSnes 87
fi
if [[ "$expertModeFeatureList" == *"selectWideScreen"* ]]; then
setSetting doSelectWideScreen true