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

Further improvements to IsMMIOAddress (Includes tests!) #1057

Merged
merged 1 commit into from Jan 24, 2015

Conversation

phire
Copy link
Member

@phire phire commented Sep 11, 2014

Make the IsMMIOAddress function easier to read, Add Tests.

This also makes IsMMIOAddress more restrictive.

(Yes you can merge this, delroth)

return ((address & 0xFE7F0000) == 0xCC000000) &&
((address & 0x0000FFFF) != 0x00008000);
if (address == 0xCC008000) return false; // WG Pipe
if ((address & 0xFFFF0000) == 0xCC000000) return true; // Gamecube MMIOs

This comment was marked as off-topic.

This comment was marked as off-topic.

@phire
Copy link
Member Author

phire commented Nov 2, 2014

Fixed those formatting issues, Rebased on latest master.

Should be ready for a merge.

@delroth
Copy link
Member

delroth commented Dec 20, 2014

@phire: This comment grants you the permission to merge this pull request whenever you think it is ready. After addressing the remaining comments, click this link to merge.


@dolphin-emu-bot rebuild
@dolphin-emu-bot allowmerge

If this builds, feel free to merge.

This also makes IsMMIOAddress more restrictive.
dolphin-emu-bot added a commit that referenced this pull request Jan 24, 2015
Further improvements to IsMMIOAddress (Includes tests!)
@dolphin-emu-bot dolphin-emu-bot merged commit 4e9497c into dolphin-emu:master Jan 24, 2015
@phire phire deleted the IsMMIOAddress2 branch July 4, 2015 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants