diff options
| author | quackottu <224479491+quackottu@users.noreply.github.com> | 2026-11-22 13:30:09 +0530 |
|---|---|---|
| committer | quackottu <224479491+quackottu@users.noreply.github.com> | 2026-11-22 13:30:09 +0530 |
| commit | 0544ba9a218faf1d9de3abd123c2d506709945bd (patch) | |
| tree | 108289c761f519ff327bb320997aa832da7c20a8 /runtime/src/pe_loader.cpp | |
| parent | d3841c0c0ee41ec014699a985846c6dc76026440 (diff) | |
d3d12_xs: rehash the RTS0 blob after clearing the Xbox flag byte
The host root-signature deserializer checks the DXBC container hash, not
the 0x03000000 flag byte: it accepts a flagged blob with a valid hash and
rejects one with a stale hash. The shim cleared the byte in a copy and kept
the old hash, so it turned blobs the host accepts into E_INVALIDARG. It now
recomputes the hash (DXBC's MD5 variant, as vkd3d and Wine) after clearing.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions