Match HomeButton base unit #217

Merged
coah80 merged 1 commits from agent/continue0923/hbm-base into main 2026-09-28 04:32:44 +00:00
coah80 commented 2026-09-28 04:32:37 +00:00 (Migrated from github.com)

matches HBMBase and links it

  • HBMAllocMem stores the alloc result in a local before returning it, like the sdk does. that fixes the r20/r21 swap in create, it wasnt a real tie-break
  • dropped the extern const f32 lbl_… and volatile hacks, plain float literals keep the pool at 100%
  • the int constants on HomeButton got in-class initializers so none of them land in .sdata2
  • calc_battery moved before calc_letter, thats the original function order
  • flipped to Matching

gates (fresh orchestrator build on top of #216)

  • pool identical, 129 strings
  • objdiff 76/76 functions at 100, code 23608/23608, data 3800/3800 (.text .data .rodata .sdata .sdata2 .sbss .bss all 100)
  • instruction diff 0 on all 76 functions
  • clean ninja build/43U/ok passes, main.dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d
  • full ninja passes
matches HBMBase and links it - `HBMAllocMem` stores the alloc result in a local before returning it, like the sdk does. that fixes the r20/r21 swap in `create`, it wasnt a real tie-break - dropped the `extern const f32 lbl_…` and volatile hacks, plain float literals keep the pool at 100% - the int constants on HomeButton got in-class initializers so none of them land in .sdata2 - `calc_battery` moved before `calc_letter`, thats the original function order - flipped to Matching gates (fresh orchestrator build on top of #216) - pool identical, 129 strings - objdiff 76/76 functions at 100, code 23608/23608, data 3800/3800 (.text .data .rodata .sdata .sdata2 .sbss .bss all 100) - instruction diff 0 on all 76 functions - clean `ninja build/43U/ok` passes, main.dol sha1 `26116613f624061ba99c8d1a299aaa6efa85670d` - full ninja passes
Sign in to join this conversation.