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

Fix toast warning in SDL build #19660

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Conversation

vishwamartur
Copy link
Contributor

Related to #18951

Add toast warning for unpacked ISO directories in SDL build.

  • Check if the path to a directory containing an unpacked ISO is passed as a command line argument.
  • Display the toast warning "Warning: Playing unpacked games may cause issues." if an unpacked ISO directory is detected.

Related to hrydgard#18951

Add toast warning for unpacked ISO directories in SDL build.

* Check if the path to a directory containing an unpacked ISO is passed as a command line argument.
* Display the toast warning "Warning: Playing unpacked games may cause issues." if an unpacked ISO directory is detected.
@hrydgard hrydgard added this to the v1.19.0 milestone Nov 26, 2024
@hrydgard hrydgard added the SDL2 Issue on SDL (or Qt in SDL code) but not all ports. label Nov 26, 2024
@hrydgard
Copy link
Owner

This fails to build. Just fix it and I'll get it merged.

…ory`

* Fix the error by converting `argv[i]` to `Path` type before passing it to `File::IsDirectory`
@hrydgard hrydgard merged commit db63bce into hrydgard:master Nov 27, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDL2 Issue on SDL (or Qt in SDL code) but not all ports.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants