Skip to content

Debug build now takes .alf as input instead of .dol#2360

Merged
TakaRikka merged 3 commits intozeldaret:mainfrom
LagoLunatic:debug
Mar 30, 2025
Merged

Debug build now takes .alf as input instead of .dol#2360
TakaRikka merged 3 commits intozeldaret:mainfrom
LagoLunatic:debug

Conversation

@LagoLunatic
Copy link
Copy Markdown
Contributor

This allows skipping the step of converting alf -> dol, the .alf can now be placed directly in orig/ShieldD/RframeworkD.alf

By the way, it turned out that a header was incorrectly resetting the optimization level, so that's why debug wasn't matching right for any TUs that include that header

I had to manually remove the following line from symbols.txt for DTK to work:
```
.data = .sbss:0x8074C97C; // type:object size:0x4 scope:local data:byte
```
After that it built OK, and DTK automatically modified all other lines in symbols.txt.
@TakaRikka TakaRikka merged commit ed42b15 into zeldaret:main Mar 30, 2025
1 check passed
@LagoLunatic LagoLunatic deleted the debug branch March 30, 2025 22:50
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