Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
bugfix d8ae474
Browse files Browse the repository at this point in the history
  • Loading branch information
i30817 committed Jan 11, 2023
1 parent 2893a41 commit 6d74b08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libretro_scummvm_playlist/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ def getPath(cfg: Path, setting: str, default_value: str):
except:
return None
if fdir.startswith(':\\'):
fdir = fdir[2:]
#imagine a retroarch.cfg file created in windows is read in posix
if os.sep == '/':
fdir = fdir[2:].replace('\\', '/')
fdir = fdir.replace('\\', '/')
return cfg.parent / fdir
elif fdir == 'default':
if default_value:
Expand Down

0 comments on commit 6d74b08

Please sign in to comment.