xgameruntime: serve the analytics class a title asks for #526
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/526"
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?
Imported from brcly/TuxBox. Originally posted by csj0oe on 2026-11-29T20:08:40Z.
What
XSystemGetAnalyticsInfoasks the runtime for a class the provider treated as unknown (b884675d-b738-4a9c-815d-9a9a1e0c6c9b), so titles gotE_NOINTERFACEand a zeroed record. That class is now served:QueryInterfaceanswers it, slot 3 returns the 144-byte analytics record, andReleasekeeps the reference counts balanced.runtime/xgameruntime/src/analytics.rswith the class IID,VersionandInfo(repr(C)), the slot-0 query and slot-3 record.runtime/xgameruntime/src/probe.rsserves the class by default and renames the entry fromUnknownb884675dtoAnalyticsInfo; the probe switch still exposes the other two classes.family/formset for a desktop title;revisionstays 0 because the version structure has no revision field.Verification
0x80004002(E_NOINTERFACE) and passes after.static_assert; the interface returns the record by value with the hidden buffer in RDX, matching member-function codegen, and the guest exercises both the C++ virtual call and the explicit pointer form.xgameruntime PASS.python tuxbox.py check --no-gpu7/7.Not covered
familyandformcome from the documented desktop values, not from a measured desktop build.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T20:38:01Z.
Thanks. From reading, this looks fine: honest local answers and tests for each case. We're adding Lanes self-test scenarios that call these providers, so they're checked without booting a title. We'll merge it once those pass with it.