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

DolphinQt/Debugger: Fix DBAT and IBAT registers in RegisterWidget #9121

Merged
merged 1 commit into from Oct 19, 2020

Conversation

Sammi-Husky
Copy link
Contributor

@Sammi-Husky Sammi-Husky commented Sep 30, 2020

This PR fixes the display of DBAT and IBAT registers past register 3 which is currently broken. Behavior can be verified by running some code to put a value in SPR 570 which will update DBAT5, however it won't update in the register window. Further, values displayed for IBATs after IBAT3 are actually DBAT values.

The issue is caused by the registers being added using the row index and incrementing all the way up to register 7 when the actual order of DBAT and IBAT registers have a gap between registers 3 and 4. (e.g SPR_IBAT3L is 535, but SPR_IBAT4U is 560).

image

@lioncash lioncash merged commit 49c7a5b into dolphin-emu:master Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants