mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
DUCKSTATION: added memcard folder creation [skip ci]
This commit is contained in:
parent
4acc725ed3
commit
2387cc854f
|
@ -301,8 +301,9 @@ prepare_emulator() {
|
|||
set_setting_value "$multi_user_data_folder/$SteamAppUser/data/duckstation/settings.ini" "RecursivePaths" "$roms_folder/psx" "duckstation" "GameList"
|
||||
dir_prep "$multi_user_data_folder/$SteamAppUser/config/duckstation" "/var/config/duckstation"
|
||||
else # Single-user actions
|
||||
rm -rf /var/config/duckstation
|
||||
mkdir -p /var/config/duckstation/
|
||||
rm -rf "/var/config/duckstation"
|
||||
mkdir -p "/var/config/duckstation/"
|
||||
mkdir -p "$saves_folder/psx/duckstation/memcards"
|
||||
cp -fv "$emuconfigs/duckstation/"* /var/config/duckstation
|
||||
set_setting_value "$duckstationconf" "SearchDirectory" "$bios_folder" "duckstation" "BIOS"
|
||||
set_setting_value "$duckstationconf" "Card1Path" "$saves_folder/psx/duckstation/memcards/shared_card_1.mcd" "duckstation" "MemoryCards"
|
||||
|
|
Loading…
Reference in a new issue