mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
Pegasus: Add support for Vita3K (#1119)
This commit is contained in:
parent
72c405a342
commit
fd04c74a6c
@ -1,4 +1,4 @@
|
||||
collection: Sony PlayStation Vita
|
||||
shortname: psvita
|
||||
extensions: eboot.bin
|
||||
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/vita3k.sh -Fr {file.path}
|
||||
extensions: psvita, PSVITA
|
||||
launch: /run/media/mmcblk0p1/Emulation/tools/launchers/vita3k.sh {file.path}
|
||||
|
@ -12,5 +12,14 @@ exe=$(find "$emufolder" -iname "${emuName}" | sort -n | cut -d' ' -f 2- | tail -
|
||||
#make sure that file is executable
|
||||
chmod +x "$exe"
|
||||
|
||||
eval "${exe} ${param}"
|
||||
rm -rf "$savesPath/.gaming"
|
||||
fileExtension="${@##*.}"
|
||||
|
||||
if [[ $fileExtension == "psvita" ]]; then
|
||||
vita3kFile=$(<"${*}")
|
||||
echo "GAME ID: $vita3kFile"
|
||||
eval "${exe}" -Fr "$vita3kFile"
|
||||
else
|
||||
eval "${exe} ${param}"
|
||||
fi
|
||||
|
||||
rm -rf "$savesPath/.gaming"
|
||||
|
Loading…
x
Reference in New Issue
Block a user