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

Add a notification when failing to load .7z/.zip #320

Closed
wants to merge 1 commit into from

Conversation

bslenul
Copy link

@bslenul bslenul commented Dec 14, 2023

Currently when you try to load a game from a .7z/.zip archive the core closes with a generic "Failed to load content" and can even crash RetroArch depending on the video driver. In any case nothing is printed in logs, so the user has absolutely no idea why it's failing/crashing.

With this PR the user gets a notification (which is also printed in logs) to warn them that the core doesn't support compressed content:

dolphin-fail.mp4

And the core should not crash (because it will return false BEFORE the Libretro::Video::Init() call, which seems to be the culprit for the crashes).

Anyway I hope this is OK, the goal is really just to give the user a reason for why it's failing, idk if there's a better way of doing it.

@bslenul bslenul closed this Mar 23, 2025
@bslenul bslenul deleted the fail-load-msg branch March 23, 2025 10:48
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

Successfully merging this pull request may close these issues.

1 participant