fix: match CNTCACHE data #150

Merged
coah80 merged 1 commits from agent/refill24-cntcache into main 2026-09-22 07:49:54 +00:00
coah80 commented 2026-09-22 07:48:27 +00:00 (Migrated from github.com)

Matches the remaining CNTCACHE data declarations in main/libs/RVL_SDK/src/cntcache/cntcache.

Validation:

  • Objdiff: 100.0% overall; 1828/1828 code, 280/280 data, and 5/5 functions.
  • Sections .bss, .data, .sbss, .sdata, and .text: 100.0% each.
  • Pool diff: identical across all 9 strings.
  • Ctxdiff: zero instruction differences for all 5 functions.
  • Full link: completed. The wider incomplete branch produced DOL SHA-1 18a43a03f6455e05139e4d8e3977de18ccacb6f8 versus expected 26116613f624061ba99c8d1a299aaa6efa85670d; the final hash gate remains pending outside this unit.

Note

Fix CNTCACHE data object array sizes to match initializers

Trims the declared char-array sizes for lbl_81693420 (0x18→0x16) and lbl_816985DC (4→3) so the declarations match their byte initializers. See cntcache.c.

Macroscope summarized b073543.

Matches the remaining CNTCACHE data declarations in `main/libs/RVL_SDK/src/cntcache/cntcache`. Validation: - Objdiff: 100.0% overall; 1828/1828 code, 280/280 data, and 5/5 functions. - Sections `.bss`, `.data`, `.sbss`, `.sdata`, and `.text`: 100.0% each. - Pool diff: identical across all 9 strings. - Ctxdiff: zero instruction differences for all 5 functions. - Full link: completed. The wider incomplete branch produced DOL SHA-1 `18a43a03f6455e05139e4d8e3977de18ccacb6f8` versus expected `26116613f624061ba99c8d1a299aaa6efa85670d`; the final hash gate remains pending outside this unit. <!-- 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] > ### Fix `CNTCACHE` data object array sizes to match initializers > Trims the declared char-array sizes for `lbl_81693420` (0x18→0x16) and `lbl_816985DC` (4→3) so the declarations match their byte initializers. See [cntcache.c](https://github.com/coah80/wii-ipl/pull/150/files#diff-1cb89397f752b157e0175aa5f569c3ba544545e31bd4a34783d40e58981fa887). > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized b073543.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.