Skip to content

Match & link MetroTRK and MSL - #64

Merged
henriquegemignani merged 6 commits into
sol/runtime-layout-20261124from
sol/g2meab-sdk-archive-profiles
Nov 25, 2026
Merged

henriquegemignani merged 6 commits into
sol/runtime-layout-20261124from
sol/g2meab-sdk-archive-profiles

Conversation

@encounter

@encounter encounter commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Companion prototype source selections and DOL verification in corruption-proto #1449.

@encounter
encounter added this pull request to stack #65 November 25, 2026 13:49
Comment thread src/Runtime/mbstring.c Outdated
#endif
#endif

#if SDK_VERSION == SDK_VERSION_DOLPHIN_2004_04

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why are these only for this version precisely? What stops it from being present in other versions?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The shared conversion routines now build for all SDK variants. The older Dolphin builds use the Native MSL UTF-8 conversion, and the Wii SDK variants dispatch through the current locale’s decode and encode callbacks. The version selection applies to that lower-level conversion path. mbstowcs and wcstombs are outside it. The companion G2MEAB build links both mbstring.o and wprintf.o from source and reproduces the original DOL. Prototype #1449

@henriquegemignani
henriquegemignani merged commit 9e57c6a into main Nov 25, 2026
37 of 38 checks passed
@henriquegemignani
henriquegemignani deleted the sol/g2meab-sdk-archive-profiles branch November 25, 2026 15:12
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