Repository navigation
d3d12_xs: create and answer the Xbox base command-list IID (GTA VI) - #37
Open
fffluffy-dev wants to merge 1 commit into
Open
fffluffy-dev wants to merge 1 commit into
fffluffy-dev wants to merge 1 commit into
Conversation
GTA VI 1.0.2.1 passes c3827890-4024-474c-98cf-645b51dc4874 to device slot 73 and gets E_NOINTERFACE, because only the DMA IID was rewritten before the PC CreateCommandList (upstream omonkeyz#293, item 1). CreateCommandListX now maps the Xbox base IID, like the DMA IID, to the PC ID3D12GraphicsCommandList IID, and the command-list QueryInterface answers the Xbox base IID with the shim, as it does for the PC list IIDs. The stale line about the parameter layout is removed: the code reads {Type@0, NodeMask@8}, which the log confirms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014vTZArnDeG1xtBcLprpoCq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #35 (upstream
omonkeyz/xbox-emulator#293, item 1).GTA VI 1.0.2.1 passes
c3827890-4024-474c-98cf-645b51dc4874to device slot 73. Only the DMA IID used to be rewritten before the call reached PCCreateCommandList, so this IID failed withE_NOINTERFACE.Changes
cmdlist_x.rs:IID_XBOX_GRAPHICS_COMMAND_LIST;pc_list_iid(), which maps both the Xbox base IID and the DMA IID to the PCID3D12GraphicsCommandListIID;query_interface_xanswers the Xbox base IID: it queries the PC base list, then hands out the shim, the same way it handles the PC list IIDs.device_wrap.rs:create_command_list_xusespc_list_iid(), and its log line showsmapped=;{Type@0, NodeMask@8}) is right;Guidnow derivesClone, Copy, Debug.xbox_base_list_iid_creates_the_pc_base_list.Verification
cargo check -p d3d12_xs --target x86_64-pc-windows-gnupasses.console-dll/oracle/leaf.rsis missing (Clean clone does not build on Windows: unpublished modules, console data blobs and libopus sources #14), so the new test was not run.Generated by Claude Code