Skip to content

Commit

Permalink
retropiemenu - disable config_save_on_exit when exiting RGUI, so we d…
Browse files Browse the repository at this point in the history
…on't automatically overwrite all system configs. This was actually the behaviour before retropiemenu (with the older ES config menu). Should avoid some issues whilst still allowing users to manage the global retroarch config from RGUI.
  • Loading branch information
joolswills committed Aug 28, 2016
1 parent 86c6aa7 commit 826188a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scriptmodules/supplementary/retropiemenu.sh
Expand Up @@ -84,6 +84,8 @@ function launch_retropiemenu() {
cp "$configdir/all/retroarch.cfg" "$configdir/all/retroarch.cfg.bak"
chown $user:$user "$configdir/all/retroarch.cfg.bak"
su $user -c "\"$emudir/retroarch/bin/retroarch\" --menu --config \"$configdir/all/retroarch.cfg\""
iniConfig " = " '"' "$configdir/all/retroarch.cfg"
iniSet "config_save_on_exit" "false"
;;
rpsetup.rp)
rp_callModule setup gui
Expand Down

0 comments on commit 826188a

Please sign in to comment.