PICO-8: some fixes, still not fully working

This commit is contained in:
Xargon 2022-05-17 11:53:12 +09:00
parent d241d11edb
commit d79428f8ee
2 changed files with 11 additions and 1 deletions

View file

@ -130,6 +130,9 @@ then
# RPCS3
mkdir -p /var/config/rpcs3/
cp $emuconfigs/config.yml /var/config/rpcs3/
# PICO-8
mkdir -p $roms_folder/pico-8
# Locking RetroDECK

View file

@ -1,3 +1,10 @@
#!/bin/bash
~/retrodeck/bios/pico-8/pico8 -desktop ~/retrodeck/screenshots -windowed 0 -root_path %ROMPATH%/pico-8 -splore
if [ -d ~/retrodeck/roms/pico-8 ]; then
pico_folder=~/retrodeck/roms/pico-8
elif [ -d /run/media/mmcblk0p1/retrodeck/roms/pico-8 ]; then
pico_folder=/run/media/mmcblk0p1/retrodeck/roms/pico-8
fi
echo $pico_folder >> ~/retrodeck/.retrodeck.log
~/retrodeck/bios/pico-8/pico8 -desktop ~/retrodeck/screenshots -windowed 0 -home ~/retrodeck/bios/pico-8 -root_path $pico_folder -splore >> ~/retrodeck/.retrodeck.log