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

Don't return 0 when attempting to read from the GPA GPIO addresses with GPIO disabled #2266

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edo9300
Copy link

@edo9300 edo9300 commented Jan 24, 2025

Currently melon would return 0 if something is attempted to be read from the addresses 0x080000C4-0x080000C8, but gba roms can and do have data in that place, while games using custom gpio hardware have those bytes set to 0 since they're mapped to the gpio lines.
Now it will instead consider those addresses as special only if the game explicitly attempted to enable gpio by writing to the control address.

Fixes #2264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect emulation of SLOT-2 GPIO
1 participant