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

HW: Use unsigned indices in RegisterMMIO where applicable #11155

Merged
merged 1 commit into from Oct 11, 2022

Conversation

lioncash
Copy link
Member

base is an unsigned variable, so we can make things little more consistent by making the loop index unsigned so we aren't doing bit arithmetic with signed types.

Some other RegisterMMIO calls already use unsigned values for this sort of thing, so those don't need to be touched

No behavioral changes, just a nitpicky consistency thing.

base is an unsigned variable, so we can make things little more
consistent by making the loop index unsigned so we aren't doing bit
arithmetic with signed types.

MemoryInterface already does this, so we can leave it alone.

No behavioral changes, just a consistency thing.
@Pokechu22 Pokechu22 merged commit 0c09eb5 into dolphin-emu:master Oct 11, 2022
11 checks passed
@lioncash lioncash deleted the unsigned branch October 12, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants