Skip to content

refactor(input): use PadState in ClearPadInput - #245

Open
noire342 wants to merge 1 commit into
OpenRAC:mainfrom
noire342:decomp/pal-clear-pad-input
Open

noire342 wants to merge 1 commit into
OpenRAC:mainfrom
noire342:decomp/pal-clear-pad-input

Conversation

@noire342

Copy link
Copy Markdown
Contributor

I switched ClearPadInput to the shared PadState and removed the duplicate layout. The reset now uses the same field names as the rest of the controller code and keeps the retail write order.

Validation

  • Rebuilt PAL v2.00 from scratch. The linked ELF is byte-for-byte identical to the upstream build. The 100 bytes of ClearPadInput match the retail executable and all 19 overlays on PAL v2.00 and NTSC-U.
  • Regenerated the PAL v2.00 and NTSC-U progress reports and confirmed they match the committed reports. All 402 tool tests passed.

I ran these checks in WSL. The full tools/check_all.sh run across all four versions is still pending.

Copilot AI balanced review requested due to automatic review settings November 15, 2026 23:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@bytematchdev

bytematchdev Bot commented Nov 15, 2026

Copy link
Copy Markdown

ByteMatch progress report

SCES_509.16

Code matched 100.00% · 3.71 MB of 3.71 MB
Fuzzy match 100.00%
Functions 5,118 / 5,118
Data matched 100.00%
Units complete 141 / 141

No function changes.

SCES_509.16_v1

Code matched 100.00% · 3.69 MB of 3.69 MB
Fuzzy match 100.00%
Functions 5,082 / 5,082
Units complete 140 / 140

No function changes.

SCUS_971.99

Code matched 100.00% · 3.55 MB of 3.55 MB
Fuzzy match 100.00%
Functions 4,244 / 4,244
Data matched 63.95%
Units complete 1,082 / 1,082

No function changes.

SCPS_150.37

Code matched 100.00% · 3.71 MB of 3.71 MB
Fuzzy match 100.00%
Functions 5,101 / 5,101
Units complete 140 / 140

No function changes.

Commit eee5263 · Ratchet & Clank on ByteMatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants