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:
parent
ce7e6bcf33
commit
d6f3b27695
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue