mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
PICO-8: fixed roms creation logic, roms can be shown but not started from ES-DE
This commit is contained in:
parent
b13074c9cc
commit
4269f9c116
13
retrodeck.sh
13
retrodeck.sh
|
@ -111,7 +111,7 @@ standalones_init() {
|
|||
cp -fv $emuconfigs/config.yml /var/config/rpcs3/
|
||||
|
||||
# PICO-8
|
||||
mkdir -pv $roms_folder/pico-8
|
||||
# Moved PICO-8 stuff in the finit as only it knows here roms folders is
|
||||
|
||||
}
|
||||
|
||||
|
@ -197,6 +197,9 @@ finit() {
|
|||
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
|
||||
dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes"
|
||||
|
||||
# PICO-8
|
||||
dir_prep "$roms_folder/pico-8" "$rdhome/bios/pico-8/bbs/carts" #this is the folder where pico-8 is saving the carts
|
||||
|
||||
ra_init
|
||||
standalones_init
|
||||
tools_init
|
||||
|
@ -234,10 +237,6 @@ https://retrodeck.net
|
|||
cat /var/config/retrodeck/version
|
||||
exit
|
||||
;;
|
||||
--reset*)
|
||||
rm -f "$lockfile"
|
||||
shift # past argument with no value
|
||||
;;
|
||||
--reset-ra*)
|
||||
ra_init
|
||||
shift # past argument with no value
|
||||
|
@ -250,6 +249,10 @@ https://retrodeck.net
|
|||
tools_init
|
||||
shift # past argument with no value
|
||||
;;
|
||||
--reset*)
|
||||
rm -f "$lockfile"
|
||||
shift # past argument with no value
|
||||
;;
|
||||
-*|--*)
|
||||
echo "Unknown option $i"
|
||||
exit 1
|
||||
|
|
|
@ -6,5 +6,5 @@ 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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue