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

provide a way for cores with need_fullpath==false to determine content filename #82

Open
markwkidd opened this issue Jul 27, 2018 · 0 comments

Comments

@markwkidd
Copy link
Contributor

Many cores create save and configuration files which are named based on the filename of the content they are executing.

When a core sets need_fullpath==false, there is no means specified in libretro.h for the core to determine the filename so there is no way to name the save files. @fr500 provides an example of this issue from beetle-gba here: libretro/beetle-gba-libretro#33 (comment)

I'm creating this issue because it seems separate from the PR I submitted to clarify the existing behavior.

Two possible ways I can think of to provide the name of the content to the core are:

  • update the API so that if need_fullpath == false then retro_game_info::path will return the filename of the content (not the full path)
  • create a new callback which returns the name of the content
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