Skip to content

Commit 275f5ae

Browse files
committed
pcsx: don't launch standalone if launching an M3U
1 parent 4c01949 commit 275f5ae

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

static/Emus/.emu_setup/launch_emu.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,19 @@ fi
136136

137137
case "$EMU" in
138138
"EBOOKS") run_ebook ;;
139-
"MP3") run_mp3 ;;
139+
"MEDIA"|"MP3") run_ffplay ;;
140140
"OPENBOR") run_openbor ;;
141-
"PORTS") run_port ;;
142141
"PICO8") run_pico8 ;;
143-
"MEDIA"|"MP3") run_ffplay ;;
142+
"PORTS") run_port ;;
144143
"PS")
145144
case "$CORE" in
146-
"pcsx_rearmed-sa") run_pcsx ;;
145+
"pcsx_rearmed-sa")
146+
if [ "${ROM_FILE##*.}" = "m3u" ]; then
147+
display -d 1500 -t "PCSX standalone does not support reading M3U files."
148+
exit 1
149+
fi
150+
run_pcsx
151+
;;
147152
"pcsx_rearmed") run_retroarch ;;
148153
esac
149154
;;

0 commit comments

Comments
 (0)