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

Fix color text array and function #689

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

AloXado320
Copy link
Contributor

func_800959F8 calls a DL array using a peculiar vtx argument check that renders a simple rectangle for the colored text and func_80092290 manipulates the vtx colors to get the rainbow effects.

Since every DL follows the same pattern, enabling AVOID_UB fixes this by dynamically changing the vertex pointer, improving the usage of the vtx argument mentioned, while getting rid of the irrelevant arrays

Due to segments, vtx references on the DLs have different pointers (&D_02007BB8[2] as 0x02007CD8). References for those pointers were fixed in code.

Fixes #572

@MegaMech MegaMech merged commit 1381235 into n64decomp:master Sep 26, 2024
1 of 4 checks passed
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.

Fix flashing text array
2 participants