diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 15:34:37 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 15:34:37 -0500 |
| commit | 6312c057f88f5627108643e3e1f572d18232c8d2 (patch) | |
| tree | 33e8e061885540b4e749312a9e24509dbdecac93 /runtime/src/main.cpp | |
| parent | b7a3fed28d53bb8c53b74eeff2ab65165a0d1c92 (diff) | |
xgameruntime: export XErrorReport, which XGameRuntimeInitialize requires
xgameruntime.lib's XGameRuntimeInitialize looks up "XErrorReport" with
GetProcAddress next to QueryApiImpl, the InitializeApiImpl* entries and
UninitializeApiImpl, and refuses to initialise when it is missing. In the
retail executable that is the lookup at +0x55e2b7e and the null check at
+0x55e2c08, after which boot stops at an int3 (+0x5a91c21).
The shim now exports XErrorReport(HRESULT, const char*) as a DLL export,
forwarding to the IXErrorImpl report it already served (callback, S_OK).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions