DKC3, SMW: use user_path for file

Same as for other games, this will resolve to ~/Archipelago on Linux, if the install folder is read-only
This commit is contained in:
black-sliver 2023-02-28 09:11:17 +01:00
parent ce7e6bcf33
commit d6f3b27695
2 changed files with 2 additions and 2 deletions

View File

@ -740,5 +740,5 @@ def get_base_rom_path(file_name: str = "") -> str:
if not file_name:
file_name = options["dkc3_options"]["rom_file"]
if not os.path.exists(file_name):
file_name = Utils.local_path(file_name)
file_name = Utils.user_path(file_name)
return file_name

View File

@ -971,5 +971,5 @@ def get_base_rom_path(file_name: str = "") -> str:
if not file_name:
file_name = options["smw_options"]["rom_file"]
if not os.path.exists(file_name):
file_name = Utils.local_path(file_name)
file_name = Utils.user_path(file_name)
return file_name