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

Commit

Permalink
Do not require the core exists right away to create the scummvm playl…
Browse files Browse the repository at this point in the history
…ist.

unlike scummvm.ini, this is unimportant, and can be installed by the user after the playlist creation
  • Loading branch information
i30817 authored Dec 3, 2023
1 parent 7a71a2e commit 795753a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libretro_scummvm_playlist/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,6 @@ def mainaux(cfg: Path = typer.Argument(CONFIG, help='Path to the retroarch cfg f
+ ( '_android' if hasattr(sys, 'getandroidapilevel') else '' ) \
+ ( '.dll' if os.name == 'nt' else '.so' )
core = os.path.abspath(Path(cores_dir, core_name))
# in android, this file\dir is innacessible for non RA apps, dont test it
if not hasattr(sys, 'getandroidapilevel'):
try:
core_path.is_file()
except PermissionError:
error(f'Invalid retroarch core: "{core}"')
raise typer.Exit(code=1)

content_dir = getPath(cfg, 'rgui_browser_directory', None)
if not content_dir or not content_dir.is_dir():
Expand Down

0 comments on commit 795753a

Please sign in to comment.