Skip to content

Commit c39ad05

Browse files
authored
Merge pull request #3491 from cmitu/ppsspp-core
lr-ppsspp: preset a save directory
2 parents 432884a + 747fc75 commit c39ad05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scriptmodules/libretrocores/lr-ppsspp.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ function configure_lr-ppsspp() {
4444
mkUserDir "$biosdir/PPSSPP"
4545
cp -Rv "$md_inst/assets/"* "$biosdir/PPSSPP/"
4646
chown -R $user:$user "$biosdir/PPSSPP"
47+
48+
# the core needs a save file directory, use the same folder as standalone 'ppsspp'
49+
iniConfig " = " "" "$configdir/psp/retroarch.cfg"
50+
iniSet "savefile_directory" "$home/.config/ppsspp"
51+
mkUserDir "$home/.config/ppsspp"
4752
fi
4853

4954
addEmulator 1 "$md_id" "psp" "$md_inst/ppsspp_libretro.so"

0 commit comments

Comments
 (0)