Merge pull request #439 from icenine451/cooker-0.7.1b-icenine451

Rebind L/R in PPSSPP on update.
This commit is contained in:
icenine451 2023-07-24 15:31:13 -04:00 committed by GitHub
commit ab01c2a248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,6 +222,12 @@ post_update() {
prepare_emulator "reset" "all"
fi
fi
if [[ $prev_version -le "071" ]]; then
# In version 0.7.1b, the following changes were made that required config file updates/reset or other changes to the filesystem:
# - Force update PPSSPP standalone keybinds for L/R.
set_setting_value "$ppssppcontrolsconf" "L" "1-45,10-193" "ppsspp" "ControlMapping"
set_setting_value "$ppssppcontrolsconf" "R" "1-51,10-192" "ppsspp" "ControlMapping"
fi
# The following commands are run every time.