Fix PS3 default emu and RA shaders

This commit is contained in:
icenine451 2022-10-17 10:03:27 -04:00
parent e89f9f2725
commit b378d537de
3 changed files with 5 additions and 2 deletions

View file

@ -3147,7 +3147,7 @@ video_scale = "3.000000"
video_scale_integer = "false" video_scale_integer = "false"
video_scale_integer_overscale = "false" video_scale_integer_overscale = "false"
video_shader_delay = "0" video_shader_delay = "0"
video_shader_dir = "/app/retrodeck/overlays/shaders" video_shader_dir = "/var/config/retroarch/shaders"
video_shader_enable = "true" video_shader_enable = "true"
video_shader_preset_save_reference_enable = "true" video_shader_preset_save_reference_enable = "true"
video_shader_remember_last_dir = "false" video_shader_remember_last_dir = "false"

View file

@ -1083,8 +1083,8 @@
<fullname>Sony PlayStation 3</fullname> <fullname>Sony PlayStation 3</fullname>
<path>%ROMPATH%/ps3</path> <path>%ROMPATH%/ps3</path>
<extension>.desktop .ps3 .PS3 .ps3dir .PS3DIR</extension> <extension>.desktop .ps3 .PS3 .ps3dir .PS3DIR</extension>
<command label="RPCS3 Shortcut (Standalone)">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<command label="RPCS3 Directory (Standalone)">%EMULATOR_RPCS3% --no-gui %ROM%</command> <command label="RPCS3 Directory (Standalone)">%EMULATOR_RPCS3% --no-gui %ROM%</command>
<command label="RPCS3 Shortcut (Standalone)">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<platform>ps3</platform> <platform>ps3</platform>
<theme>ps3</theme> <theme>ps3</theme>
</system> </system>

View file

@ -221,6 +221,9 @@ standalones_init() {
ra_init() { ra_init() {
dir_prep "$rdhome/bios" "/var/config/retroarch/system" dir_prep "$rdhome/bios" "/var/config/retroarch/system"
dir_prep "$rdhome/.logs/retroarch" "/var/config/retroarch/logs" dir_prep "$rdhome/.logs/retroarch" "/var/config/retroarch/logs"
mkdir -pv /var/config/retroarch/shaders/
cp -rfv /app/share/libretro/shaders /var/config/retroarch/
dir_prep "$rdhome/shaders/retroarch" "/var/config/retroarch/shaders"
mkdir -pv /var/config/retroarch/cores/ mkdir -pv /var/config/retroarch/cores/
cp -fv /app/share/libretro/cores/* /var/config/retroarch/cores/ cp -fv /app/share/libretro/cores/* /var/config/retroarch/cores/
if [ $overwrite_configs = true ]; then if [ $overwrite_configs = true ]; then