POST_UPDATE: added GC controller reset action

This commit is contained in:
XargonWan 2025-02-17 16:11:16 +09:00
parent 024940a427
commit ec5599c016
2 changed files with 8 additions and 0 deletions

View file

@ -568,6 +568,7 @@ post_update() {
--text="The following components have been updated and need to be reset or fixed to ensure compatibility with the new version: select the components you want to reset.\n\nNot resetting them may cause serious issues with your installation.\nYou can also reset them manually later via Configurator -> Troubleshooting -> Reset Component.\n\nNote: Your games, saves, game collections and scraped data will not be affected." \
--column="Select" --column="Component" --column="Description" --width="1100" --height="700" \
TRUE "RetroArch" "Needs to be reset to fix the borders issue on some sytems such as psx" \
TRUE "Dolphin - GameCube Controller" "The GameCube controller configuration needs to be reset to fix a trigger issue" \
--separator=":" \
--extra-button="Execute All" \
--ok-label="Execute Selected Only" \
@ -619,6 +620,12 @@ post_update() {
make_preset_changes "borders" "all"
fi
# Dolphin - GameCube Controller
if [[ "$execute_all" == "true" || " ${selected_choices[@]} " =~ " Dolphin - GameCube Controller " ]]; then
log i "User agreed to reset Dolphin - GameCube Controller"
cp -f "$config/dolphin/GCPadNew.ini" "$dolphingcpadconf" && log i "Done"
fi
# --- ALWAYS EXECUTED IN 0.9.1b ---
log i "Preparing the shaders folder for MAME..."

View file

@ -84,6 +84,7 @@
<li>RETROARCH: fixed a bug where the cores were not updated along with RetroArch itself</li>
<li>DOLPHIN and PRIMEHACK: Fixed a bug where the Universal Dynamic Input was missing from the build</li>
<li>DOLPHIN: fixed a bug where it wouldn't start in some Wayland configurations</li>
<li>DOLPHIN: fixed a trigger issue in the controller configuration</li>
<li>PORTMASTER: added the ability to hide PortMaster from ES-DE</li>
<li>PSX: fixed an issue that was not showing the borders correctly</li>
<li>BIOS CHECKER: fixed wrong folder check</li>