SHADPS4: added post_update reset and a placeholder resett function [skip ci]

This commit is contained in:
XargonWan 2024-08-23 23:34:04 +09:00
parent fd719a5116
commit 89f943a95d
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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