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

don't flag rewind as initialized until after we're able to validate against core info #15983

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

Jamiras
Copy link
Contributor

@Jamiras Jamiras commented Dec 7, 2023

Description

Fixes an issue where achievement code may try to enable rewind before the core info is initialized, preventing rewind from being enabled later once the core info is available.

My solution is to move the "rewind already initialized" flag logic down a few lines so it's not set unless we're actually able to attempt to initialize rewind.

It looks like the "already initialized" flag was added to prevent spamming the log (see #13741). As the lack of a core info doesn't generate a log entry, I believe this change to be benign.

Related Issues

#15933 (comment)

Related Pull Requests

n/a

Reviewers

@jdgleaver

@LibretroAdmin LibretroAdmin merged commit be8e294 into libretro:master Dec 7, 2023
23 checks passed
@Jamiras Jamiras deleted the rewind_reinit branch June 11, 2024 12:45
Sunderland93 pushed a commit to Sunderland93/RetroArch that referenced this pull request Dec 26, 2024
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.

2 participants