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 PPCCache savestate behavior #11765

Merged
merged 1 commit into from Apr 25, 2023

Conversation

Minty-Meeo
Copy link
Member

PR #11183 regressed the lookup table reconstruction and, for some reason, added an else clause that clobbered the dCache whenever dCache emulation is turned on.

@Minty-Meeo Minty-Meeo force-pushed the ppc-cache-savestate branch 3 times, most recently from 0915396 to e372caf Compare April 17, 2023 08:22
@Minty-Meeo
Copy link
Member Author

Even though this does not change the savestate format, should this still increment STATE_VERSION to make it clear that these files are semi-incompatible with prior versions? Or are we not that worried about it?

PR dolphin-emu#11183 regressed the lookup table reconstruction and, for some reason, added an else clause that clobbered the dCache whenever dCache emulation is turned on.
@Minty-Meeo
Copy link
Member Author

@mkwcat I want to ask. What was the else clause this PR removes meant to do? It seems like a mistake, as removing it makes everything work fine.

@mkwcat
Copy link
Contributor

mkwcat commented Apr 23, 2023

Yeah, it was a mistake

Copy link
Contributor

@Pokechu22 Pokechu22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, both were introduced in 9d39647 (and not the main commit that implemented it).

Both changes look good to me, though I haven't done any testing (I know you have).

@lioncash lioncash merged commit b9a7f57 into dolphin-emu:master Apr 25, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants