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

JIT64 (Jit_Integer): for twx instructions, raise exception with correct SRR0 #12257

Merged
merged 1 commit into from Nov 1, 2023

Conversation

Wack0
Copy link
Contributor

@Wack0 Wack0 commented Oct 27, 2023

In the AMD64 JIT, the tw* instructions did fail to update PPCSTATE(pc) before raising the exception, so the program exception was taken with incorrect SRR0.

This is a one-line change so I figured it would be best to open a PR rather than open a bug report.

The ARM64 JIT does things properly as far as I can tell.

@JosJuice JosJuice merged commit 13c70ee into dolphin-emu:master Nov 1, 2023
11 checks passed
@Wack0 Wack0 deleted the patch-1 branch November 2, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants