Skip to content

Jj/vi0501 and psdisp#2539

Draft
jurrejelle wants to merge 5 commits into
doldecomp:masterfrom
jurrejelle:jj/vi0501
Draft

Jj/vi0501 and psdisp#2539
jurrejelle wants to merge 5 commits into
doldecomp:masterfrom
jurrejelle:jj/vi0501

Conversation

@jurrejelle
Copy link
Copy Markdown
Collaborator

No description provided.

jurrejelle and others added 5 commits May 25, 2026 17:34
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Cache &HSD_PSDisp_804D0FC0 in a saved register across the loop (matches
target's r26 usage) and drop redundant per-iteration reassignments.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add psDispSubPoint/psDispSubPointTrail (declared in psstructs.h, never
implemented): DispPoint particles without an appsrt are batched (up to 16
compatible consecutive particles) into GX_POINTS/GX_LINES, matching the
original. Was rendering them one-at-a-time. 38.9% -> 46.3%.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@decomp-dev
Copy link
Copy Markdown

decomp-dev Bot commented May 25, 2026

Report for GALE01 (ec330b4 - d90eb15)

📈 Matched data: 39.76% (+0.00%, +16 bytes)

✅ 1 new match
Unit Item Bytes Before After
main/melee/vi/vi0501 .sdata +16 0.00% 100.00%
📈 5 improvements in unmatched items
Unit Item Bytes Before After
main/sysdolphin/baselib/psdisp psDispParticles +2756 39.03% 58.06%
main/melee/vi/vi0501 un_8031D9F8 +640 0.00% 98.83%
main/sysdolphin/baselib/psdisp particleSort +73 92.88% 99.85%
main/melee/vi/vi0501 .sdata2 +2 66.67% 72.73%
main/sysdolphin/baselib/psdisp extabindex +1 91.67% 95.83%
📉 1 regression in an unmatched item
Unit Item Bytes Before After
main/sysdolphin/baselib/psdisp .sdata2 -4 82.00% 77.78%

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