mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
SHADPS4: added post_update reset and a placeholder resett function [skip ci]
This commit is contained in:
parent
fd719a5116
commit
89f943a95d
|
@ -434,6 +434,7 @@ post_update() {
|
||||||
|
|
||||||
set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch"
|
set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch"
|
||||||
prepare_component "reset" "ruffle"
|
prepare_component "reset" "ruffle"
|
||||||
|
prepare_component "reset" "shadps4"
|
||||||
update_rd_conf
|
update_rd_conf
|
||||||
|
|
||||||
# TODO: check this
|
# TODO: check this
|
||||||
|
|
|
@ -872,7 +872,16 @@ prepare_component() {
|
||||||
if [[ "$action" == "postmove" ]]; then # Run only post-move commands
|
if [[ "$action" == "postmove" ]]; then # Run only post-move commands
|
||||||
dir_prep "$saves_folder/flash" "/var/data/ruffle/SharedObjects/localhost/$roms_folder/flash"
|
dir_prep "$saves_folder/flash" "/var/data/ruffle/SharedObjects/localhost/$roms_folder/flash"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$component" =~ ^(gzdoom|all)$ ]]; then
|
||||||
|
component_found="true"
|
||||||
|
# This is just a placeholder script to test the emulator's flow
|
||||||
|
log i "----------------------"
|
||||||
|
log i "Prepearing SHADPS4"
|
||||||
|
log i "----------------------"
|
||||||
|
|
||||||
|
# TODO: plceholder
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $component_found == "false" ]]; then
|
if [[ $component_found == "false" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue