Skip to content

Conversation

@veremenko-y
Copy link

Because of the specifics of Mesen label files, where ROM labels are relative, there could be (and in my case was) a case where RAM variable absolute address (e.g. 0x600) overlaps with relative bank address (0x8600), which results in wiz not emitting label for whatever comes the second.

This fix ensures that address ownership is checked by label type, not just by address.

So... I don't love this bugfix, but I'm also not C++ developer. Please feel free to give any feedback, and I can fix it better.

I know DebugFormatContext shares addressOwnership with other debug outputs, but I didn't feel it was appropriate to either change it, or add mlb specific one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant