upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorExCorvus <73470689+ExCorvus@users.noreply.github.com>2026-11-24 01:29:22 +0100
committerExCorvus <73470689+ExCorvus@users.noreply.github.com>2026-11-24 01:29:22 +0100
commita7ffc53c152aa725d9823655661a9e8cfd2d2a63 (patch)
tree8e952a7c08ab235f0332eb79b565032ddc188e97 /runtime/src/pe_loader.cpp
parentdb761be31041e1f9985d920a687e9e6952779fe9 (diff)
d3d12_xs: route console slot-14 heap creation through a registered handler
3630610ca made the Xbox device proxy call rt::d3d12::create_console_descriptor_heap directly, but d3d12_xs_device.cpp does not include d3d12_com.h, so the tree does not compile: C3083 ('d3d12' is not a namespace) and C2039 at d3d12_xs_device.cpp:1606. Including the header would pull Vulkan types into xs_proxy_mock_test, which compiles the proxy standalone and does not link the layer. The proxy now has set_console_descriptor_heap_handler, the same shape as slot 133's placed-at-VA handler: a ConsoleDescriptorHeapHandler typedef and an atomic in d3d12_xs_device.h/.cpp, registered by every Vulkan device in its constructor. Heap creation moves into a Device member so the free helper only unwraps the device and delegates. The new test gets its own reference from create_device_proxy, reads the PC heap's CPU start through heap_proxy_real_heap() instead of the Xbox-ABI proxy, and Ref gains operator->. Tests: xs_proxy_mock_test and d3d12_console_descriptor_heap_test build and exit 0; gta6rt links. AI-assisted: DeepSeek V4.1 Flash 1017 (Alibaba Token Plan); coordinated by Qwen4 Max Preview.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions