upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorRoberto0953 <131179700+Roberto0953@users.noreply.github.com>2026-11-22 20:55:54 +0100
committerRoberto0953 <131179700+Roberto0953@users.noreply.github.com>2026-11-22 21:01:12 +0100
commit2428954112549a24fcc2b93206a30620184b044d (patch)
treef4da46bec322d6ed19261d4ec49674f2fdc9addd /runtime/test/tiny_game_exit_code_test.cpp
parentf847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff)
xgameruntime: refuse XThreadingImpl slot 8 (XAsyncBeginAlloc) instead of answering S_OK
Slot 8 is the private XAsyncBeginAlloc: no public page, never called by the package's DLLs, signature not measured. The generic private slot answered 0, so a caller got S_OK for an async call whose provider never received XAsyncOp::Begin and whose completion never arrives. It now returns E_NOTIMPL and logs once. Test: xgameruntime_test calls slot 8 with a provider that counts XAsyncOp::Begin and requires either a failure or one Begin. Fails on ec8ec4c9 (S_OK, 0 Begin), passes with the change; the mutant answering S_OK is caught. AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions