Skip to content

Commit

Permalink
set default joypad driver to sdl2
Browse files Browse the repository at this point in the history
This should minimize the impact of #52
  • Loading branch information
hizzlekizzle authored Aug 23, 2023
1 parent 9a4c639 commit f787985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retroarch.wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ set -e
[ ! -f "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg" ] && notify-send "RetroArch" "Done!" -i "$SNAP/.config/assets/xmb/monochrome/png/retroarch.png" -t 2000

#If the config file doesn't exist, create it and point the browser directory outside of the snap package
[ ! -f "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg" ] && touch "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg" && echo "rgui_browser_directory = $SNAP_REAL_HOME" >> "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg"
[ ! -f "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg" ] && touch "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg" && echo "rgui_browser_directory = $SNAP_REAL_HOME" >> "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg" && echo "input_joypad_driver = sdl2" >> "$SNAP_USER_DATA/.config/retroarch/retroarch.cfg"

# As discussed here:
# - https://forum.snapcraft.io/t/egl-using-snaps-on-impish-seem-to-be-broken-when-using-the-nvidia-proprietary-driver/25715
Expand Down

0 comments on commit f787985

Please sign in to comment.