Skip to content

Add lzs hasm - #199

Merged
roengstrom merged 3 commits into
mainfrom
lzs-hasm
Oct 30, 2026
Merged

roengstrom merged 3 commits into
mainfrom
lzs-hasm

Conversation

@roengstrom

Copy link
Copy Markdown
Owner

No description provided.

D_80039418 belongs to the lzs unit, so its struct and declaration move there from cdread.h.
lzs.h gains func_8003947C, which cdread.c called without a prototype, and its prototypes drop extern like the other headers.
The eight functions are a hand-written LZSS routine, not compiler output, so they become src/lzs.s like 282EC.s, together with the state block D_80039418.
@decomp-dev

decomp-dev Bot commented Oct 30, 2026

Copy link
Copy Markdown

Report for SLUS_008.92 (eee7485 - 385920c)

📈 Matched code: 69.43% (+0.05%, +800 bytes)

✅ 8 new matches
Unit Item Bytes Before After
src/lzs func_80039520 +344 0.00% 100.00%
src/lzs func_80039678 +104 0.00% 100.00%
src/lzs func_8003947C +84 0.00% 100.00%
src/lzs func_800394D0 +80 0.00% 100.00%
src/lzs func_800396E0 +72 0.00% 100.00%
src/lzs func_80039444 +56 0.00% 100.00%
src/lzs func_80039728 +36 0.00% 100.00%
src/lzs getOffsetTableEntry +24 0.00% 100.00%

@dargor123 dargor123 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

all good

@roengstrom
roengstrom merged commit 39e6827 into main Oct 30, 2026
1 check passed
@roengstrom
roengstrom deleted the lzs-hasm branch October 30, 2026 20:15
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.

3 participants