pegasus fixes

This commit is contained in:
Rodrigo 2023-12-01 13:00:33 +01:00
parent fdd2d774bc
commit 7ac286f0d3
4 changed files with 4 additions and 15 deletions

View file

@ -1,6 +1,6 @@
collection: Microsoft Xbox
shortname: xbox
extensions: iso, ISO
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/xemu.sh -full-screen -dvd_path {file.path}
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/xemu-emu.sh -full-screen -dvd_path {file.path}

View file

@ -19,9 +19,6 @@ fi
#run the executable with the params.
#Fix first '
param="${@}"
substituteWith='"'
param=${param/\'/"$substituteWith"}
#Fix last ' on command
param=$(echo "$param" | sed 's/.$/"/')
param=$(echo "$param" | sed "s|'|/\"|g")
eval "${exe} ${param}"
rm -rf "$savesPath/.gaming"

View file

@ -19,9 +19,5 @@ fi
#run the executable with the params.
#Fix first '
param="${@}"
substituteWith='"'
param=${param/\'/"$substituteWith"}
#Fix last ' on command
param=$(echo "$param" | sed 's/.$/"/')
param=$(echo "$param" | sed "s|'|/\"|g")
eval "${exe} ${param} -bigpicture -fullscreen"
cloud_sync_uploadEmu pcsx2

View file

@ -17,11 +17,7 @@ else
chmod +x $exe
fi
#run the executable with the params.
#Fix first '
param="${@}"
substituteWith='"'
param=${param/\'/"$substituteWith"}
#Fix last ' on command
param=$(echo "$param" | sed 's/.$/"/')
param=$(echo "$param" | sed "s|'|/\"|g")
eval "${exe} ${param}"
rm -rf "$savesPath/.gaming"