Repository navigation
Match 19 routines and restore NTSC-U carry - #138
stephendolan2017 wants to merge 1 commit into
Conversation
Recover the verified core boundaries, timed effects and multiplayer symbol bindings so 19 routines link from C across 43 NTSC-U placements. Include the PAL boot counterpart and regenerate the maps and reports. All 54 NTSC-U targets matched both retail formats on clean master and the candidate. The candidate retained all 150,587 clean C placements. All three PAL core programs matched, and the previously verified overlay inputs agreed. The PR checks and all 253 unit tests passed.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ByteMatch progress reportSCES_524.56
No function changes. SCUS_973.53
✅ Newly matched (18)
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6017faa325
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| __asm__("lqc2 %0, %1" : "=j"(qa) : "m"(v)); | ||
| __asm__("lqc2 %0, %1" : "=j"(qb) : "m"(*(V4_3813E0 *)(obj + 0x10))); | ||
| __asm__("vadd.xyz %0, %0, %1" : "+j"(qa) : "j"(qb)); | ||
| __asm__("sqc2 %1, %0" : "=m"(v) : "j"(qa)); |
There was a problem hiding this comment.
Combine the VU0 add into one asm block
On the info != 0 path, this single load/load/add/store VU0 sequence is split across four independent __asm__ statements, although the PAL counterpart already expresses the operation through vec_add_ab at src/frontbin/382380.c:1466. The matching rules require one asm block per VU0 sequence (or a shared header helper), so use that helper or one combined block and reverify the match instead of relying on four separate scheduling barriers.
AGENTS.md reference: AGENTS.md:L140-L145
Useful? React with 👍 / 👎.
| extern f32 func_U_0038D488(f32, f32); | ||
| extern f32 func_U_0038DEC8(f32, f32); | ||
| /* localdecomp:start func_U_003A3088 */ | ||
| /* from rac3-uya-decomp's func_003A3088 */ |
There was a problem hiding this comment.
Use the prescribed NTSC decomp name
This newly added provenance comment refers to the third-party project as rac3-uya-decomp, while the repository convention requires referring to it as “the NTSC decomp”; rewrite the attribution while retaining the function reference so the new source follows that convention.
AGENTS.md reference: AGENTS.md:L211-L212
Useful? React with 👍 / 👎.
Functions
The match commit
feat(rac3): match regional routines and restore NTSC-U carriescontains these 19 routines. The counts are linked NTSC-U placements.func_003A5598— 1func_003A5998— 1func_00802640— 1func_U_0037F588— 1func_U_003813E0— 1func_U_00391FD8— 1func_U_003932B0— 1func_U_00395288— 1func_U_00396B30— 1func_U_0039DB38— 1func_U_003A3088— 1func_U_003AA630— 1, with PAL counterpartfunc_003AA780also matchedfunc_U_L08_0039AF00— 1func_U_L14_0035C9C0— 2func_L09_003ECB60— 2func_L20_003F8218— 1func_L34_003B0F90— 1func_L40_003D59B0— 12func_L40_004252F8— 12Notes
@ps2aswhere required. They use the NTSC-U timer values and bindings. The generated map, names and progress files are in the match commit.Verification
c162f99b. All 54 NTSC-U targets matched both retail formats in each build. The candidate retained all 150,587 clean C placements and linked exactly 43 more across the 19 routines.