[codex] Match RVL SDK ferror wrapper #206

Merged
coah80 merged 1 commits from agent/worker52/pf-next into main 2026-09-23 02:22:58 +00:00
coah80 commented 2026-09-22 08:49:18 +00:00 (Migrated from github.com)

Summary

Match the RVL SDK pf2_ferror wrapper with readable C.

Validation

  • objdiff unit: 100% code (36/36), data, functions (1/1), and linked.
  • ctxdiff: 9/9 instructions, 0 diffs.
  • ninja build/43U/main.dol passes.
  • python3 tools/test_workflow_guards.py passes (7 tests, 3 skipped).
  • worktree_check.py leaf passes.
  • pool_diff is not applicable: source and target objects are text-only with no .data section.
  • The global completion gate remains incomplete because unrelated units are unfinished.

Note

Add pf2_ferror wrapper to match RVL SDK pf_ferror.c

Implements the pf2_ferror wrapper in pf_ferror.c, which retrieves the stream error via PFFILE_ferror, converts it through PFAPI_convertError, and returns the result as an FAError. Marks fa/pf_ferror.c as a Matching object in configure.py.

Macroscope summarized e82aa79.

## Summary Match the RVL SDK `pf2_ferror` wrapper with readable C. ## Validation - objdiff unit: 100% code (36/36), data, functions (1/1), and linked. - ctxdiff: 9/9 instructions, 0 diffs. - `ninja build/43U/main.dol` passes. - `python3 tools/test_workflow_guards.py` passes (7 tests, 3 skipped). - `worktree_check.py leaf` passes. - `pool_diff` is not applicable: source and target objects are text-only with no `.data` section. - The global completion gate remains incomplete because unrelated units are unfinished. <!-- 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] > ### Add `pf2_ferror` wrapper to match RVL SDK `pf_ferror.c` > Implements the `pf2_ferror` wrapper in [pf_ferror.c](https://github.com/coah80/wii-ipl/pull/206/files#diff-f9ee3330363009d520a0cd9ff58d782e427194de65b6a42b12dc14d97706a2c4), which retrieves the stream error via `PFFILE_ferror`, converts it through `PFAPI_convertError`, and returns the result as an `FAError`. Marks `fa/pf_ferror.c` as a Matching object in [configure.py](https://github.com/coah80/wii-ipl/pull/206/files#diff-4d5f3192809ec1b9add6b33007e0c50031ad9a0a2f3f55a481b506468824db2c). > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized e82aa79.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.