Match button data #50

Merged
coah80 merged 1 commits from codex/button-data-exact-20260921 into main 2026-09-21 23:18:03 +00:00
coah80 commented 2026-09-21 23:17:56 +00:00 (Migrated from github.com)

Matches the iplButton data layout while preserving the existing exact code.

Validation:

  • objdiff: 7,624/7,624 code bytes, 1,744/1,744 data bytes, 42/42 functions
  • pool: identical
  • full build passed
  • DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d

Note

Move B_Stop and T_Stop button label definitions to .sdata section

Replaces the in-file string definitions for B_Stop and T_Stop in iplButton.cpp with external declarations placed in the .sdata section, matching the original binary's data layout. The T_Stop definition is relocated to after the ipl::scene namespace.

Macroscope summarized 50d3800.

Matches the iplButton data layout while preserving the existing exact code. Validation: - objdiff: 7,624/7,624 code bytes, 1,744/1,744 data bytes, 42/42 functions - pool: identical - full build passed - DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Move `B_Stop` and `T_Stop` button label definitions to `.sdata` section > Replaces the in-file string definitions for `B_Stop` and `T_Stop` in [iplButton.cpp](https://github.com/coah80/wii-ipl/pull/50/files#diff-d90787bde205f7e4a54c729b1ebfe0736fca0dc078694098b28202c77f605e0f) with external declarations placed in the `.sdata` section, matching the original binary's data layout. The `T_Stop` definition is relocated to after the `ipl::scene` namespace. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 50d3800.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.