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

Jit widget fixes #11316

Merged
merged 5 commits into from Dec 2, 2022
Merged

Jit widget fixes #11316

merged 5 commits into from Dec 2, 2022

Conversation

Pokechu22
Copy link
Contributor

A few fixes, mostly improving the JIT widget (although one also affects selecting "view code" in the memory widget/registers widget).

The call to analyzer.Analyze breaks when it attempts to read an instruction, as it eventually tries to read memory when Memory::m_pRAM is nullptr. Trying to read when execution is not paused in general seems like a bad idea (especially as analyzer.Analyze uses PowerPC::TryReadInstruction which can update icache - this is probably still a problem).
…milar

This affected the memory and registers widgets (and possibly others). I'm pretty sure it regressed in 5f629ab.

The SetCodeVisible line is a new fix, but the equivalent already existed in the memory widget.
Before, I just assumed this feature was broken since I didn't know what widget it used. Now, it behaves like show memory and show code elsewhere.
@lioncash lioncash merged commit 6b514e8 into dolphin-emu:master Dec 2, 2022
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants