Skip to content

fix(levels): Yeedil passes the object to func_L03_00326458 - #444

Merged
Veradictus merged 1 commit into
masterfrom
fix/l20-pass-object
Nov 11, 2026
Merged

Veradictus merged 1 commit into
masterfrom
fix/l20-pass-object

Conversation

@Veradictus

Copy link
Copy Markdown
Member

Yeedil's func_L20_00310E38 called func_L03_00326458() with no argument, relying on the object still being in a0. It now passes the object, the same way Endako's calls do, and declares the argument. The output is byte-identical: tools/check.py reports 20_yeedil OK, 1 of 1 places. Without this, the PC port called the routine with a stray pointer and crashed on Yeedil.

The call relied on the object still being in a0; the C now passes it, as Endako's calls do, and declares the argument. Same bytes (tools/check.py: 20_yeedil OK). Without it the PC port called the routine with a stray pointer and crashed on Yeedil.
@Veradictus
Veradictus merged commit ac77fef into master Nov 11, 2026
@Veradictus
Veradictus deleted the fix/l20-pass-object branch November 11, 2026 05:21
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.

1 participant