Merge pull request #884 from fewtarius/dev
Fix scenario where pico-8 starts using the static bin, but then tries to start again using the dynamic bin.
This commit is contained in:
commit
a9a9f0db92
1 changed files with 2 additions and 0 deletions
|
@ -27,12 +27,14 @@ if [ -e "/storage/roms/pico-8/${STATIC_BIN}" ]
|
|||
then
|
||||
jslisten set "${STATIC_BIN}"
|
||||
/storage/roms/pico-8/${STATIC_BIN} -home -root_path /storage/roms/pico-8 -joystick 0 ${OPTIONS} "${CART}"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ -e "/storage/roms/pico-8/pico8_dyn" ] || [ ! "$?" = 0 ]
|
||||
then
|
||||
jslisten set "pico8_dyn"
|
||||
/storage/roms/pico-8/pico8_dyn -home -root_path /storage/roms/pico-8 -joystick 0 ${OPTIONS} "${CART}"
|
||||
exit
|
||||
else
|
||||
text_viewer -e -w -t "Missing Pico-8 binaries!" -m "Extract your purchased pico8 package into the pico-8 directory on your games partition."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue