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

JitArm64: Use STP for (parts of) ppcState.ps #9484

Merged
merged 2 commits into from Jan 30, 2021

Conversation

JosJuice
Copy link
Member

The savestate incompatibility problem mentioned in a comment was solved by PR #4687.

m_emit->STP(IndexType::Signed, RX1, RX2, PPC_REG, u32(ppc_offset));
if (!maintain_state)
const size_t ppc_offset = GetGuestByIndex(i).ppc_offset;
if (ppc_offset <= 252)
Copy link
Member

Choose a reason for hiding this comment

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

Just checking: it's 252 here because it's a 32-bit STP, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes.

@degasus degasus merged commit b22073e into dolphin-emu:master Jan 30, 2021
10 checks passed
@JosJuice JosJuice deleted the jitarm64-ps-stp branch January 30, 2021 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants