Restore decide sounds in address-book trigger handling #727

Merged
coah80 merged 1 commits from agent/bittle/address-decide-sound into main 2026-10-02 05:16:06 +00:00
coah80 commented 2026-10-02 05:13:22 +00:00 (Migrated from github.com)

Three literal-reference corrections

AddressEdit::start_trig_event plays WIPL_SE_BT_TARGETTING (hover/targeting) in three confirmation paths. The original calls use WIPL_SE_DECIDE. Change only those three literals; leave the genuine pointing/hover handlers unchanged.

Evidence and verification on eecf16f0

  • The original function's instructions 43, 73, and 102 reference .data+1475 (WIPL_SE_DECIDE). The old source instead referenced .data+1453 (WIPL_SE_BT_TARGETTING).
  • start_trig_event is now 112/112 instructions with zero ctxdiff differences.
  • All 1,027 compiled source objects audited: only this function's three high/low relocation pairs change, six relocations total. No raw allocated bytes, string-pool bytes, other relocations, or other objects change.
  • String pool 57/57 identical.
  • Full 43U all_source/progress/report/DOL passes; all 3,867,904 DOL bytes equal the original. SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
  • Workflow 7/7, pool 8/8, jump-table 27/27 tests pass; diff/worktree checks pass.
  • All progress measures unchanged: objdiff already called this function 100%, despite the wrong actual sound-string references. No new exact-code or linking gain is claimed; AddressEdit remains NonMatching.

One file, three replacements. No headers, metadata, padding, placement, or assembly. Tested/published tree b00acb4370. Review only; no assistant merge.

Note

Play decide sound instead of targeting sound in AddressEdit button paths

In iplAddressEdit.cpp, the ipl::scene::AddressEdit::start_trig_event handler now starts WIPL_SE_DECIDE for three button-selection paths: friend selection, event selection, and the state-0x22 button-4 path. These previously started WIPL_SE_BT_TARGETTING. Behavioral Change: only the sound differs; state transitions and selection logic are unchanged.

Macroscope summarized f853fb5.

## Three literal-reference corrections AddressEdit::start_trig_event plays WIPL_SE_BT_TARGETTING (hover/targeting) in three confirmation paths. The original calls use WIPL_SE_DECIDE. Change only those three literals; leave the genuine pointing/hover handlers unchanged. ## Evidence and verification on eecf16f0 - The original function's instructions 43, 73, and 102 reference .data+1475 (WIPL_SE_DECIDE). The old source instead referenced .data+1453 (WIPL_SE_BT_TARGETTING). - start_trig_event is now 112/112 instructions with zero ctxdiff differences. - All 1,027 compiled source objects audited: only this function's three high/low relocation pairs change, six relocations total. No raw allocated bytes, string-pool bytes, other relocations, or other objects change. - String pool 57/57 identical. - Full 43U all_source/progress/report/DOL passes; all 3,867,904 DOL bytes equal the original. SHA1 26116613f624061ba99c8d1a299aaa6efa85670d. - Workflow 7/7, pool 8/8, jump-table 27/27 tests pass; diff/worktree checks pass. - All progress measures unchanged: objdiff already called this function 100%, despite the wrong actual sound-string references. No new exact-code or linking gain is claimed; AddressEdit remains NonMatching. One file, three replacements. No headers, metadata, padding, placement, or assembly. Tested/published tree b00acb4370ca03d443843c0f8d018b52486d5aed. Review only; no assistant merge. <!-- 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] > ### Play decide sound instead of targeting sound in AddressEdit button paths > In [iplAddressEdit.cpp](https://github.com/coah80/wii-ipl/pull/727/files#diff-66a27b13bda271223ec7294c9e6377128492e75203c03479e31956da5d204bd1), the `ipl::scene::AddressEdit::start_trig_event` handler now starts `WIPL_SE_DECIDE` for three button-selection paths: friend selection, event selection, and the state-0x22 button-4 path. These previously started `WIPL_SE_BT_TARGETTING`. Behavioral Change: only the sound differs; state transitions and selection logic are unchanged. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized f853fb5.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
coah80 commented 2026-10-02 05:16:04 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.