Skip to content

More main cleanup + memory layout cleanup - #204

Merged
Eletonyy merged 2 commits into
mainfrom
memlayout
Nov 2, 2026
Merged

Eletonyy merged 2 commits into
mainfrom
memlayout

Conversation

@roengstrom

Copy link
Copy Markdown
Owner

No description provided.

Start the main executable's .data at 0x41E94 so main.c defines g_fileTableDesc,
and name the disc TOC, wm2field, overlay and scratch addresses in memlayout.h.
Move every TOC group's extern into one header and name the field and world
groups g_fieldFileDescs and g_worldFileDescs.
@decomp-dev

decomp-dev Bot commented Oct 31, 2026

Copy link
Copy Markdown

Report for SLUS_008.92 (833de91 - 9960222)

Total data: 30105 bytes (+8 bytes)
📈 Matched data: 72.67% (+0.01%, +8 bytes)

✅ 1 new match
Unit Item Bytes Before After
src/main .data +8 100.00% 100.00%

@Eletonyy
Eletonyy merged commit bf16664 into main Nov 2, 2026
1 check passed
@roengstrom
roengstrom deleted the memlayout branch November 3, 2026 06:28
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.

2 participants