feat(xmem): implement XMemAlloc, XMemFree, XMemVirtualQuery and XMemGetWorkingSetStatistics #18
Labels
No labels
accessibility
bug
ci
docs
documentation
duplicate
enhancement
fixes issue
good first issue
help wanted
invalid
library request
libs
needs rebase
question
relinker
stale
tools
unblocks title
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Dark3581--AnyBox#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Dark3581 on GitHub · 2026-11-21 14:02 UTC · original
Middleware that titles ship themselves imports these, so a title that bundles it stops here: an import audit shows the FidelityFX upscaler and Bink 2 importing
XMemAllocandXMemFree(the upscaler alsoXMemGetWorkingSetStatistics), and a BVH builder DLL importingXMemVirtualQuery. All four are stubs in Inventory.cpp.XMemAllocXMemFreeXMemVirtualQueryXMemGetWorkingSetStatisticsUnknown, to settle first
AbxUnsupported.A host implementation on top of
VirtualAlloc/VirtualQueryis the expected shape, butXMemFreemust accept exactly whatXMemAllocreturned, including any alignment it applied.How to do it
include/Exports.hpphas no parameters yet. Give it the exact signature from the public GDK headers; do not copy the headers into the repository.AbxUnsupported(__func__, "what is unknown"); never return a made-up success.docs/dev/debt/changes/, and add an e2e scenario (core/libs/tests/FakeTitle.cpp,e2e.py).