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

Music inside HiROM mapped rom example and mouse support bug fixes #280

Merged
merged 2 commits into from
Apr 14, 2024

Conversation

DigiDwrf
Copy link
Contributor

@DigiDwrf DigiDwrf commented Apr 13, 2024

Music inside HiROM mapped rom example

soundbank is smaller than $10000 in size, so it fits in one single bank.
Musical theme rearranged and some fun animations have been added ;)

Bug fixes for mouse input and example

I removed a branch present in bios, so both ports are read in one single vblank interrupt.
detectMouse() is called later, after nmi, so mouse is detected. snes_mouse is set to 0 when both mouses are not found, not the second one, this is to prevent potential issues.

soundbank is smaller than $10000 in size, so it fits in one single bank.

Musical theme rearranged and some fun animations have been added ;)
I removed a branch present in bios, so both ports are read in one single vblank interrupt.
detectMouse() is called later, after nmi, so mouse is detected. snes_mouse is set to 0 when both mouses are not found, not the second one, this is to prevent potential issues.
@DigiDwrf DigiDwrf changed the title Music inside HiROM mapped rom example Music inside HiROM mapped rom example and mouse support bug fixes Apr 14, 2024
Copy link
Owner

@alekmaul alekmaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, can merge

@alekmaul alekmaul merged commit 4e48784 into alekmaul:develop Apr 14, 2024
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.

2 participants