feat(xgameruntime): complete XGameSave async/filter, XSystem bandwidth, and XMem physical page aliasing #23

Open
github-bot wants to merge 1 commit from github-bot/gh-23 into main AGit
Owner

@⁠californiaAlmonds on GitHub · 2026-11-21 14:01 UTC · original
californiaAlmonds:feat/xgamesave-xmem-xsystem → main · +466 −39 · 5 files · 1 commits · open

Summary

Completes three xgameruntime.dll subsystems to 100% export coverage (+14 clean-room GDK exports):

  • XGameSave (20/22 -> 27/22, 100%): XGameSaveGetRemainingQuotaAsync/Result, XGameSaveDeleteContainerAsync/Result, XGameSaveGetContainerInfo, XGameSaveEnumerateContainerInfoByName, XGameSaveEnumerateBlobInfoByName, completing all 30/30 slots in kGameSaveVtbl.
  • XSystem (17/18 -> 18/18, 100%): XSystemAllowFullDownloadBandwidth.
  • XMem (11/16 -> 17/16, 100%): XMemVirtualProtect, XMemVirtualQuery, and OS section-backed XMemAllocatePhysicalPages / FreePhysicalPages / MapPhysicalPages / UnmapPhysicalPages with live dual-VA aliasing.
  • Added unit tests in tests/test_xgameruntime_abi.cpp and tests/test_query_api_impl.cpp.

Verification

  • Built in Release mode (MSVC 2022 + Ninja x64) with 0 errors.
  • Passed 20/20 non-baseline-failing CTest targets (including live dual-VA physical aliasing write-through verification).
**@⁠californiaAlmonds** on GitHub · 2026-11-21 14:01 UTC · [original](https://github.com/Freminet/ScarlettX/pull/23) `californiaAlmonds:feat/xgamesave-xmem-xsystem` → `main` · +466 −39 · 5 files · 1 commits · open ## Summary Completes three `xgameruntime.dll` subsystems to **100%** export coverage (`+14` clean-room GDK exports): - **`XGameSave` (`20/22` -> `27/22`, 100%)**: `XGameSaveGetRemainingQuotaAsync`/`Result`, `XGameSaveDeleteContainerAsync`/`Result`, `XGameSaveGetContainerInfo`, `XGameSaveEnumerateContainerInfoByName`, `XGameSaveEnumerateBlobInfoByName`, completing all **30/30** slots in `kGameSaveVtbl`. - **`XSystem` (`17/18` -> `18/18`, 100%)**: `XSystemAllowFullDownloadBandwidth`. - **`XMem` (`11/16` -> `17/16`, 100%)**: `XMemVirtualProtect`, `XMemVirtualQuery`, and OS section-backed `XMemAllocatePhysicalPages` / `FreePhysicalPages` / `MapPhysicalPages` / `UnmapPhysicalPages` with live dual-VA aliasing. - Added unit tests in `tests/test_xgameruntime_abi.cpp` and `tests/test_query_api_impl.cpp`. ## Verification - Built in Release mode (MSVC 2022 + Ninja x64) with 0 errors. - Passed `20/20` non-baseline-failing CTest targets (including live dual-VA physical aliasing write-through verification).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:56:16 +00:00
This pull request has changes conflicting with the target branch.
  • src/shims/xgameruntime_shim.cpp
  • tests/test_xgameruntime_abi.cpp
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/23/head:github-bot/gh-23'
git switch 'github-bot/gh-23'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-23'
git switch 'github-bot/gh-23'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-23'
git switch 'github-bot/gh-23'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-23'
git switch 'main'
git merge --squash 'github-bot/gh-23'
git switch 'main'
git merge --ff-only 'github-bot/gh-23'
git switch 'main'
git merge 'github-bot/gh-23'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.