Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to start games if a broken toc file is present #149

Closed
orbea opened this issue Jan 5, 2017 · 0 comments
Closed

Fails to start games if a broken toc file is present #149

orbea opened this issue Jan 5, 2017 · 0 comments

Comments

@orbea
Copy link
Contributor

orbea commented Jan 5, 2017

OS: Slackware64-current
RetroArch-2017.01.03_faf939856_master-x86_64-1_git
beetle-psx-libretro-2016.12.23_aafafde_master-x86_64-1_git

If starting a game with a working cue file from the command line using a full path or from the RetroArch menu if a toc file is present which is either broken or in a non-supported format (Sometimes people download these).

To easily reproduce this.

touch game.toc

Works:

  • retroarch -L mednafen_psx_libretro.so game.cue

Doesn't work:

  • retroarch -L mednafen_psx_libretro.so ./game.cue
  • retroarch -L mednafen_psx_libretro.so /some/path/game.cue
  • Starting the game from the menu.
Attempt to read LBA 16, >= LBA 0
CDIF Raw Read error
terminate called after throwing an instance of 'MDFN_Error'
Aborted

Removing the toc file is an easy work around, but as this can lead to unexpected failures it should just ignore any toc file that is not in the correct format. Upstream mednafen does not have this problem.

Beetle-saturn also has this problem.
libretro/beetle-saturn-libretro#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant