mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-16 19:35:39 +00:00
Fix rewind script
This commit is contained in:
parent
4adf9249d6
commit
de50f90762
|
@ -9,13 +9,13 @@ zenity --question \
|
|||
|
||||
if [ $? == 0 ] #yes, enable
|
||||
then
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "true"' $racfg
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "true"%' $racfg
|
||||
zenity --info \
|
||||
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK" \
|
||||
--text="Rewind enabled\!\nYou can check on Libretro docs to see which cores supports this function."
|
||||
else # no, disable
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "false"' $racfg
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "false"%' $racfg
|
||||
zenity --info \
|
||||
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK" \
|
||||
|
|
Loading…
Reference in a new issue