diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 06:28:03 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 06:28:03 -0500 |
| commit | 561b65a832218fbb9e6d2effd392a8eef093a3f8 (patch) | |
| tree | 039a055a8fb00d648dffcfb82e2f96d143229bf1 /runtime/test/xgameruntime_test.cpp | |
| parent | a4d7182243ddcbe1f729ba0845e2932ee6df7423 (diff) | |
| parent | 3faac557b1584d39004357918e60325b4d4ff0fe (diff) | |
Merge remote-tracking branch 'origin/main' into triage-r44
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
# .github/workflows/runtime.yml
# tests/test_first_look_shim_report.py
Diffstat (limited to 'runtime/test/xgameruntime_test.cpp')
| -rw-r--r-- | runtime/test/xgameruntime_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/test/xgameruntime_test.cpp b/runtime/test/xgameruntime_test.cpp index 9eedc96d3..a94220ecf 100644 --- a/runtime/test/xgameruntime_test.cpp +++ b/runtime/test/xgameruntime_test.cpp | |||
| @@ -231,8 +231,8 @@ void check_run_time_load() { | |||
| 231 | auto query = reinterpret_cast<Query>(get_proc(rt_mod, "QueryApiImpl")); | 231 | auto query = reinterpret_cast<Query>(get_proc(rt_mod, "QueryApiImpl")); |
| 232 | auto uninit_api = reinterpret_cast<Uninit>(get_proc(rt_mod, "UninitializeApiImpl")); | 232 | auto uninit_api = reinterpret_cast<Uninit>(get_proc(rt_mod, "UninitializeApiImpl")); |
| 233 | check(init_ex2(0x2410, 0x0, 0x02, &options) == S_OK, "InitializeApiImplEx2 succeeds offline"); | 233 | check(init_ex2(0x2410, 0x0, 0x02, &options) == S_OK, "InitializeApiImplEx2 succeeds offline"); |
| 234 | // XGameSaveImpl (xgameruntime include/xgamesave.idl), not served yet. | 234 | // An id no runtime class has (made up for this test). |
| 235 | const GUID some_class = {0x704c3f58, 0xe629, 0x4cc2, {0xb1, 0x97, 0x30, 0x51, 0x1b, 0x99, 0x6f, 0xe2}}; | 235 | const GUID some_class = {0x4c454f4e, 0x4944, 0x4100, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01}}; |
| 236 | void* out = reinterpret_cast<void*>(1); | 236 | void* out = reinterpret_cast<void*>(1); |
| 237 | check(query(&some_class, some_class, &out) == static_cast<HRESULT>(0x80070032) && out == nullptr, | 237 | check(query(&some_class, some_class, &out) == static_cast<HRESULT>(0x80070032) && out == nullptr, |
| 238 | "QueryApiImpl refuses a class it doesn't provide yet (HRESULT 0x80070032) and clears the out pointer"); | 238 | "QueryApiImpl refuses a class it doesn't provide yet (HRESULT 0x80070032) and clears the out pointer"); |