diff options
| author | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 18:22:59 -0600 |
|---|---|---|
| committer | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 18:22:59 -0600 |
| commit | c030bfd2ed973b36df9373d7a1e1df5b2d4c8fae (patch) | |
| tree | 33fc7e448e56896267b524ffdcefbc29cf961cbf /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | d44285197237cfe331684aa150fb9dec4b1d08b5 (diff) | |
xgameruntime: gifting UI completes its block, speech without `used`, MountWithUi and TitleId gaps (RT-OFFLINE-GDK-SHIM-GAPS)
Four offline GDK shim gaps from kevincommits' finding on #1608:
- XStoreShowGiftingUIAsync (store slot 82) is offline_failure_async<82, 5>
like the other offline *Async slots, so a caller waiting on its block gets
an answer. The block is the 5th argument (storeContextHandle, storeId,
name, extendedJsonData, async), as in microsoft/XBOX-GDK-dotnet.
- XSpeechSynthesizerGetStreamData forwards a host stream
(LEONIDA_LOCAL_SPEECH=1) also when `used` is null; it is _Out_opt_. The
host provider is made once into a namespace-scope atomic instead of a
block-scope static on a title thread (the Wine guard issue this file
already avoids elsewhere). A test hook sets a fake host.
- XPackageMountWithUiAsync completes with E_ACCESSDENIED for the game's
own package, as XPackageMount refuses it, instead of
E_GAMEPACKAGE_NO_PACKAGE_IDENTIFIER. A block used again before its result
was read closes the earlier mount's handle; if the new run does not
start, the earlier mount keeps its place.
- XGameGetXboxTitleId skips a <TitleId> inside an XML comment, as
package_locales already does (the comment stripping is now shared).
New checks in xgameruntime_test, xgameruntime_store_test and
xgameruntime_offline_test: 5 fail with main's logic, all pass with the fix.
AI-assisted (Claude Code).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions