mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 21:28:36 +00:00
d3d12_xs_device.cpp called rt::d3d12::create_console_descriptor_heap (slot 14,3630610ca) without including d3d12_com.h, which exists only with the Vulkan device (LEONIDA_VULKAN_DEVICE), so gta6rt did not compile without Vulkan headers. The console path is now built with the Vulkan device only, and when the helper refuses a host D3D12 device the PC call makes the heap from the 16-byte desc, as before3630610ca. acphal.cpp: SHAPE_XMA_CONTEXT's bit fields fill five dwords and SHAPE_PCM_CONTEXT's six, so with 10 and 1 reserved dwords the structs were 60 and 28 bytes and the GDK-size asserts (64, 32) failed on MSVC. Only the size is used (the stride of the title's context arrays), so the reserved tails are 11 and 2 dwords. Tested: gta6rt builds (VS 2022, RelWithDebInfo); gta6rt --dry-run and --init on the Xbox Series 1.0.2.1 package map and initialise all five modules; --run stops at the first unimplemented import, xcrdapi.dll!DStorageGetFactory. docs/port_status.md: Leonida is the base, VIctory the patch source. port_ctl.py: shot --small writes a reduced copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>