fix(agc): commit the pages of a sub-page capture range when replaying on Windows #22181

Open
LeandroLP23 wants to merge 0 commits from upstream-pr/22181 into main
LeandroLP23 commented 2026-11-17 07:38:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-11-17T07:38:00Z.


What

agc_frame_replay on Windows could not restore a capture whose guest allocation registry holds ranges smaller than a page. A title's heap can register allocations of a few bytes at addresses inside a page. The replay committed each captured range at its own address and size. GuestArenaCommit then tried to split the arena's placeholder at that address, and Windows refuses to split a placeholder inside a page. The replay stopped with split guest placeholder prefix before it restored any memory.

  • On Windows, commit now commits the 4 KiB host pages (dwPageSize) that hold the range. For a later range in a page that is already committed, WindowsMappings::Commit takes its committed-memory branch, which only calls VirtualProtect (and resets the write-tracking state of shared views there).
  • commit always uses read-write (0x04), as before. A host page shared by several captured ranges is therefore read-write as a whole, and so are the bytes of that page outside any captured range. Those bytes belong to no captured range, so the replay never reads or restores them. Linux already sets the whole page read-write this way.
  • The registration (GuestAllocations::Mutation::Add) still uses the captured address and size, so the replayed registry matches the captured one.
  • Linux keeps its own path, which already rounds a sub-page range to the pages that hold it and sets their protection.

Found with a capture of SuperTuxKart (PPSA69421, open-source homebrew). Its heap registers ranges of 1 to 16 bytes, for example 1 byte at 0x200220020. No capture data is attached.

Tested

Windows 11, MinGW-w64 GCC 15.2, Release, AMD Radeon 860M (driver 32.0.32015.12012).

  • New test agc_driver_frame_replay_subpage. In one 64 KiB guest block it registers a 1-byte range at +0x20 and a 16-byte range at +0x40, both in the first 4 KiB host page, and a 48-byte range at +0x1010 in the next page. It captures two frames of copies, replays them with --strict, and checks the copy and the bytes of all three ranges. The 16-byte range is the case of a range in a page that an earlier range already committed. The second commit added it.
    • Negative control: with the tools/FrameReplay.cpp change reverted, the replay stops with split guest placeholder prefix, exits with 2, and the test fails. With the change restored, it passes.
  • ctest -R agc_driver_frame_replay: all 48 pass after a full build.
  • agc_driver_frame_replay, agc_driver_frame_replay_subpage and agc_driver_frame_replay_gpu_write_before_delta with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation and VK_LOADER_DEBUG=layer (Vulkan SDK 1.4.363), on main and on this branch. Both logs show the loader inserting the layer and no was not found line, and neither log has a VUID- error.
  • With the change, the SuperTuxKart capture restores its memory and replays 25 submissions. It then stops at a truncated PM4 packet: the capture is missing some of the title's CPU writes to its command buffers. That is a separate capture problem and goes in its own PR.
  • Not run on Linux. The Linux branch of commit is unchanged, but the new test is also registered there.
  • tools/check_conventions.py --base origin/main passes.
  • tools/pr_overlap.py --branch:
    • #19610 (macOS capture and replay) changes the #ifdef __linux__ line of the same commit function to add macOS, and the BUILD.md line next to the new sentence. That is a textual conflict only.
    • #12568 and #21931 touch nearby lines of the test's main, which is a textual conflict only.
    • #11435, #11436, #15136, #17338 and #19557 conflict with main and could not be compared automatically. None of their diffs changes commit, the Windows placeholder commit or page rounding in tools/FrameReplay.cpp. #17338 and #19557 round ranges to pages only to register the Linux write watch.
    • The other PRs it lists share only docs/dev/BUILD.md.
    • No open PR title mentions sub-page ranges or the placeholder split.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: AMD Radeon 860M, driver 32.0.32015.12012, Windows 11
  • AI-assisted: yes (Claude Code)

Summary by CodeRabbit

  • Bug Fixes
    • Improved frame replay handling for memory ranges smaller than a system page, including more consistent behavior on Windows.
  • Documentation
    • Expanded frame capture and replay testing guidance with additional coverage for sub-page registrations and memory reset scenarios.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5352797672 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22181). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-11-17T07:38:00Z. --- ### What `agc_frame_replay` on Windows could not restore a capture whose guest allocation registry holds ranges smaller than a page. A title's heap can register allocations of a few bytes at addresses inside a page. The replay committed each captured range at its own address and size. `GuestArenaCommit` then tried to split the arena's placeholder at that address, and Windows refuses to split a placeholder inside a page. The replay stopped with `split guest placeholder prefix` before it restored any memory. - On Windows, `commit` now commits the 4 KiB host pages (`dwPageSize`) that hold the range. For a later range in a page that is already committed, `WindowsMappings::Commit` takes its committed-memory branch, which only calls `VirtualProtect` (and resets the write-tracking state of shared views there). - `commit` always uses read-write (`0x04`), as before. A host page shared by several captured ranges is therefore read-write as a whole, and so are the bytes of that page outside any captured range. Those bytes belong to no captured range, so the replay never reads or restores them. Linux already sets the whole page read-write this way. - The registration (`GuestAllocations::Mutation::Add`) still uses the captured address and size, so the replayed registry matches the captured one. - Linux keeps its own path, which already rounds a sub-page range to the pages that hold it and sets their protection. Found with a capture of SuperTuxKart (PPSA69421, open-source homebrew). Its heap registers ranges of 1 to 16 bytes, for example 1 byte at 0x200220020. No capture data is attached. ### Tested Windows 11, MinGW-w64 GCC 15.2, Release, AMD Radeon 860M (driver 32.0.32015.12012). - New test `agc_driver_frame_replay_subpage`. In one 64 KiB guest block it registers a 1-byte range at +0x20 and a 16-byte range at +0x40, both in the first 4 KiB host page, and a 48-byte range at +0x1010 in the next page. It captures two frames of copies, replays them with `--strict`, and checks the copy and the bytes of all three ranges. The 16-byte range is the case of a range in a page that an earlier range already committed. The second commit added it. - Negative control: with the `tools/FrameReplay.cpp` change reverted, the replay stops with `split guest placeholder prefix`, exits with 2, and the test fails. With the change restored, it passes. - `ctest -R agc_driver_frame_replay`: all 48 pass after a full build. - `agc_driver_frame_replay`, `agc_driver_frame_replay_subpage` and `agc_driver_frame_replay_gpu_write_before_delta` with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` and `VK_LOADER_DEBUG=layer` (Vulkan SDK 1.4.363), on `main` and on this branch. Both logs show the loader inserting the layer and no `was not found` line, and neither log has a `VUID-` error. - With the change, the SuperTuxKart capture restores its memory and replays 25 submissions. It then stops at a truncated PM4 packet: the capture is missing some of the title's CPU writes to its command buffers. That is a separate capture problem and goes in its own PR. - Not run on Linux. The Linux branch of `commit` is unchanged, but the new test is also registered there. - `tools/check_conventions.py --base origin/main` passes. - `tools/pr_overlap.py --branch`: - #19610 (macOS capture and replay) changes the `#ifdef __linux__` line of the same `commit` function to add macOS, and the BUILD.md line next to the new sentence. That is a textual conflict only. - #12568 and #21931 touch nearby lines of the test's `main`, which is a textual conflict only. - #11435, #11436, #15136, #17338 and #19557 conflict with `main` and could not be compared automatically. None of their diffs changes `commit`, the Windows placeholder commit or page rounding in `tools/FrameReplay.cpp`. #17338 and #19557 round ranges to pages only to register the Linux write watch. - The other PRs it lists share only `docs/dev/BUILD.md`. - No open PR title mentions sub-page ranges or the placeholder split. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: AMD Radeon 860M, driver 32.0.32015.12012, Windows 11 - [x] AI-assisted: yes (Claude Code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Improved frame replay handling for memory ranges smaller than a system page, including more consistent behavior on Windows. * **Documentation** * Expanded frame capture and replay testing guidance with additional coverage for sub-page registrations and memory reset scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
MarcZX10 commented 2026-11-17 08:04:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T08:04:07Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

  • Head reviewed: 1ecb8949154223cc6b343cbdef183d8bd656bf9a (base main).
  • Read the review folder: description, commits, manifest, the diff, and the four changed files in the diff.
  • Read the head code through the reader:
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp 150 250
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp 296 335
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_frame_replay_tests.cmake 1 30
python3 repo_read.py search "committedWritable" core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp
python3 repo_read.py search "commit(chunk" core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp
python3 repo_read.py search "WindowsMappings::Commit" core/libs
  • No build and no test run in this review.

Results

Check Result Note
Diff and description read passed 4 files
Head code of commit and its caller passed Linux path unchanged
Build of the test target not run
agc_driver_frame_replay_subpage not run Author reports Windows runs only
Negative control not run Author reports one; not reproduced
Commands and output

Only the reader commands listed under What I ran were run. No test command was run.

Findings

Blocking

None.

Non-blocking

  • core/libs/prx/libSceAgcDriver/tests/FrameReplay.cpp:302 sets Second to 0x1010, while First is 0x20 (line 301). On Windows the host page is 4 KiB on x64, so the two ranges round to different host pages and the test does not reach the case the description names, a later range in a page that is already committed. Keeping both in one page would need only a small change:
    constexpr std::size_t Second = 0x40;

Not verified

  • The helpers the new test calls (allocate, pattern, copyFrame, FrameCaptureReader, at, readFile, check) were not read at head. Only the diff hunks of tests/FrameReplay.cpp were read.
  • WindowsMappings::Commit: the description says a range in an already committed page only changes that page's protection. The reader search at head did not find its definition, so this was not checked.
  • Protection: commit sets every touched host page to read-write (0x04) on Windows, including bytes outside the captured range. The effect on neighbouring ranges was not checked.
  • The description says both ranges are "inside one guest page". The guest page size was not checked.
  • Linux: the cmake file registers agc_driver_frame_replay_subpage on Linux as well as Windows (tests/cmake/agc_driver_frame_replay_tests.cmake:2, :23). No Linux run was reported.
  • The Windows runs, the ctest result, and the negative control come from the description. They were not reproduced here.

To get this to a good state

Nothing is required. The optional point is under Findings.

Sources

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5934893659 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22181#pullrequestreview-5934893659). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T08:04:07Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. ## What I ran - Head reviewed: `1ecb8949154223cc6b343cbdef183d8bd656bf9a` (base `main`). - Read the review folder: description, commits, manifest, the diff, and the four changed files in the diff. - Read the head code through the reader: ``` python3 repo_read.py cat core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp 150 250 python3 repo_read.py cat core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp 296 335 python3 repo_read.py cat core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_frame_replay_tests.cmake 1 30 python3 repo_read.py search "committedWritable" core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp python3 repo_read.py search "commit(chunk" core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp python3 repo_read.py search "WindowsMappings::Commit" core/libs ``` - No build and no test run in this review. ## Results | Check | Result | Note | |---|---|---| | Diff and description read | passed | 4 files | | Head code of `commit` and its caller | passed | Linux path unchanged | | Build of the test target | not run | | | `agc_driver_frame_replay_subpage` | not run | Author reports Windows runs only | | Negative control | not run | Author reports one; not reproduced | <details> <summary>Commands and output</summary> Only the reader commands listed under What I ran were run. No test command was run. </details> ## Findings **Blocking** None. **Non-blocking** - `core/libs/prx/libSceAgcDriver/tests/FrameReplay.cpp:302` sets `Second` to `0x1010`, while `First` is `0x20` (line 301). On Windows the host page is 4 KiB on x64, so the two ranges round to different host pages and the test does not reach the case the description names, a later range in a page that is already committed. Keeping both in one page would need only a small change: ```suggestion constexpr std::size_t Second = 0x40; ``` ## Not verified - The helpers the new test calls (`allocate`, `pattern`, `copyFrame`, `FrameCaptureReader`, `at`, `readFile`, `check`) were not read at head. Only the diff hunks of `tests/FrameReplay.cpp` were read. - `WindowsMappings::Commit`: the description says a range in an already committed page only changes that page's protection. The reader search at head did not find its definition, so this was not checked. - Protection: `commit` sets every touched host page to read-write (`0x04`) on Windows, including bytes outside the captured range. The effect on neighbouring ranges was not checked. - The description says both ranges are "inside one guest page". The guest page size was not checked. - Linux: the cmake file registers `agc_driver_frame_replay_subpage` on Linux as well as Windows (`tests/cmake/agc_driver_frame_replay_tests.cmake:2`, `:23`). No Linux run was reported. - The Windows runs, the `ctest` result, and the negative control come from the description. They were not reproduced here. ## To get this to a good state Nothing is required. The optional point is under Findings. ## Sources - [`commit` at head](https://github.com/boykopovar/AnyPS5/blob/1ecb8949154223cc6b343cbdef183d8bd656bf9a/core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp#L182-L204) - [Sub-page test ranges at head](https://github.com/boykopovar/AnyPS5/blob/1ecb8949154223cc6b343cbdef183d8bd656bf9a/core/libs/prx/libSceAgcDriver/tests/FrameReplay.cpp#L300-L302)
MarcZX10 commented 2026-11-17 23:00:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T23:00:51Z.

Review: APPROVED


Reviewed — looks good

The changed code implements Windows page-rounded commits for replayed ranges; all four changed files and their added lines were read, and no concrete defect was found in the inspected code.

What I ran

No commands were run. Reviewed head da111246be6a0456a853a7a0fd838fed31e12af0 using the supplied diff and repo_read.py.

Results

Check Result Note
Changed lines read passed All four changed files
Build and tests not run Author reports Windows tests; not independently run

Findings

Blocking

None.

Non-blocking

None.

Not verified

Builds, tests, Linux behavior, and console behavior were not independently verified. The author reports Windows 11 testing and passing replay tests. No files were excluded from the review; all four changed files listed in the manifest were read.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5948070070 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22181#pullrequestreview-5948070070). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T23:00:51Z. **Review:** APPROVED --- # Reviewed — looks good The changed code implements Windows page-rounded commits for replayed ranges; all four changed files and their added lines were read, and no concrete defect was found in the inspected code. ## What I ran No commands were run. Reviewed head `da111246be6a0456a853a7a0fd838fed31e12af0` using the supplied diff and `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Changed lines read | passed | All four changed files | | Build and tests | not run | Author reports Windows tests; not independently run | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Builds, tests, Linux behavior, and console behavior were not independently verified. The author reports Windows 11 testing and passing replay tests. No files were excluded from the review; all four changed files listed in the manifest were read. ## To get this to a good state Nothing is required.
Jazeupoi commented 2026-11-18 14:29:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Jazeupoi on 2026-11-18T14:29:11Z.

Review: COMMENTED


Tested on NVIDIA, since the description's run is on an AMD iGPU.

Setup: Windows 11 Pro (build 26300), AMD Ryzen 5 3400G, NVIDIA GeForce RTX 2060 (driver 621.24), WinLibs GCC 15.2.0, Release. Base: main 1118567b8b with #22373 (a test-build fix only). "This PR" is the same tree with head da111246be merged.

All ^agc_driver_frame_replay tests, 3 runs each, with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, VK_LOADER_DEBUG=layer, ANYPS5_NO_SHADER_CACHE=1 and ANYPS5_REQUIRE_VULKAN=1 (ctest -V, validation layer 1.4.363):

tests result layer inserted not found lines VUID-
main 47 3/3 runs pass 44 per run 0 0
this PR 48 3/3 runs pass 45 per run 0 0

The extra test is the new agc_driver_frame_replay_subpage, which passes in every run. No new validation errors.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5958578625 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22181#pullrequestreview-5958578625). Originally posted by [Jazeupoi](https://github.com/Jazeupoi) on 2026-11-18T14:29:11Z. **Review:** COMMENTED --- Tested on NVIDIA, since the description's run is on an AMD iGPU. **Setup:** Windows 11 Pro (build 26300), AMD Ryzen 5 3400G, NVIDIA GeForce RTX 2060 (driver 621.24), WinLibs GCC 15.2.0, Release. Base: `main` `1118567b8b` with #22373 (a test-build fix only). "This PR" is the same tree with head `da111246be` merged. All `^agc_driver_frame_replay` tests, 3 runs each, with `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `VK_LOADER_DEBUG=layer`, `ANYPS5_NO_SHADER_CACHE=1` and `ANYPS5_REQUIRE_VULKAN=1` (`ctest -V`, validation layer 1.4.363): | | tests | result | layer inserted | `not found` lines | `VUID-` | |---|---|---|---|---|---| | `main` | 47 | 3/3 runs pass | 44 per run | 0 | 0 | | this PR | 48 | 3/3 runs pass | 45 per run | 0 | 0 | The extra test is the new `agc_driver_frame_replay_subpage`, which passes in every run. No new validation errors. AI-assisted: yes (Claude Code)
MarcZX10 commented 2026-11-23 01:12:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-23T01:12:48Z.

Review: APPROVED


Reviewed — looks good

The Windows page rounding change and its regression test are consistent with the stated sub-page replay failure; no blocking defect was found in the changed code read.

What I ran

Reviewed head bfa37d58c46743d17e325d39c50b8d3d92b4878e in boykopovar/AnyPS5. Read the prepared description, commits, diff, manifest, and all four changed files; inspected the affected replay logic and test registration with repo_read.py reader tools. No build or test commands were run. The description reports Windows 11 tests and notes Linux was not run; those results were not independently verified.

Results

Check Result Note
Diff and changed code review passed Four changed files read
Build and tests not run Author-reported results only
Files excluded by rule not applicable files.json was unavailable

Findings

Blocking

None.

Non-blocking

None.

Not verified

The runtime behavior, reported test outcomes, and validation on Linux were not independently verified. files.json was unavailable, so the excluded-file list could not be checked.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6015557151 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22181#pullrequestreview-6015557151). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-23T01:12:48Z. **Review:** APPROVED --- # Reviewed — looks good The Windows page rounding change and its regression test are consistent with the stated sub-page replay failure; no blocking defect was found in the changed code read. ## What I ran Reviewed head `bfa37d58c46743d17e325d39c50b8d3d92b4878e` in `boykopovar/AnyPS5`. Read the prepared description, commits, diff, manifest, and all four changed files; inspected the affected replay logic and test registration with `repo_read.py` reader tools. No build or test commands were run. The description reports Windows 11 tests and notes Linux was not run; those results were not independently verified. ## Results | Check | Result | Note | |---|---|---| | Diff and changed code review | passed | Four changed files read | | Build and tests | not run | Author-reported results only | | Files excluded by rule | not applicable | `files.json` was unavailable | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The runtime behavior, reported test outcomes, and validation on Linux were not independently verified. `files.json` was unavailable, so the excluded-file list could not be checked. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-26 13:32:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T13:32:31Z.

Review: APPROVED


Reviewed — looks good

The change rounds Windows replay commits to host-page boundaries and adds coverage for multiple sub-page ranges that share committed pages.

What I ran

Reviewed head 4960cbb5ff4318ab23bfa29992192edd1e65cc3c. No commands or tests were run in this review session; the test results in the PR description are author-reported.

Read all changed files: core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp, core/libs/prx/libSceAgcDriver/tests/FrameReplay.cpp, core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_frame_replay_tests.cmake, and docs/dev/BUILD.md. All four are listed as included in review/manifest.json; no excluded-file list was available.

Results

Check Result Note
Changed-file review passed All four changed files read
Tests in this session not run Results in description are author-reported
Windows page rounding passed Uses the system page size

Findings

Blocking

None.

Non-blocking

None.

Not verified

The reported Windows test suite and negative control were not independently rerun. Linux runtime behavior was not tested in this review session.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6075007816 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22181#pullrequestreview-6075007816). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-26T13:32:31Z. **Review:** APPROVED --- # Reviewed — looks good The change rounds Windows replay commits to host-page boundaries and adds coverage for multiple sub-page ranges that share committed pages. ## What I ran Reviewed head `4960cbb5ff4318ab23bfa29992192edd1e65cc3c`. No commands or tests were run in this review session; the test results in the PR description are author-reported. Read all changed files: `core/libs/prx/libSceAgcDriver/tools/FrameReplay.cpp`, `core/libs/prx/libSceAgcDriver/tests/FrameReplay.cpp`, `core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_frame_replay_tests.cmake`, and `docs/dev/BUILD.md`. All four are listed as included in `review/manifest.json`; no excluded-file list was available. ## Results | Check | Result | Note | |---|---|---| | Changed-file review | passed | All four changed files read | | Tests in this session | not run | Results in description are author-reported | | Windows page rounding | passed | Uses the system page size | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The reported Windows test suite and negative control were not independently rerun. Linux runtime behavior was not tested in this review session. ## To get this to a good state Nothing is required.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/22181:upstream-pr/22181'
git switch 'upstream-pr/22181'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/22181'
git switch 'upstream-pr/22181'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/22181'
git switch 'upstream-pr/22181'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/22181'
git switch 'main'
git merge --squash 'upstream-pr/22181'
git switch 'main'
git merge --ff-only 'upstream-pr/22181'
git switch 'main'
git merge 'upstream-pr/22181'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!22181
No description provided.