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

Fixed an oversight in which a remap changes an opcode. #18

Merged
merged 1 commit into from
Dec 12, 2020

Conversation

MarioFanGamer
Copy link
Contributor

An oversight which went unnoticed until now (changed layer 3 tilemap which is invisible unless on a custom Game Over) is where the STZ at $00977C is changed to STA.

@VitorVilela7 VitorVilela7 self-assigned this Oct 31, 2019
@VitorVilela7 VitorVilela7 self-requested a review October 31, 2019 21:08
Copy link
Owner

@VitorVilela7 VitorVilela7 left a comment

Choose a reason for hiding this comment

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

HI MFG, thank you for submitting the patch! I have checked it and it indeed fixes the issue.

There is only one minor detail that would need to be adjusted: since it changes the remapping patches and they are only applied once (there's an if around all org commands checking if it's a clean ROM or not), you have to as well add an if at the top of the file checking if the opcode at $00:977C is the STA opcode and if so, apply that particular change so non-clean ROMs can get the fix as well.

@VitorVilela7 VitorVilela7 merged commit c8fe62b into VitorVilela7:master Dec 12, 2020
@VitorVilela7
Copy link
Owner

Remaining changes will be made myself.

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.

None yet

2 participants