Merge main into RT-PROTON-STORY-LOAD (#984): #396 and #403

Brings the branch up to main at b4b7756e8: #396 (console list slot 139 is Reset) and #403 (queue slot 18 is the frequency getter for a guest caller). The first merge already resolved the proxy to these two forms, so nothing changes in the code:

- runtime/shims/d3d12_xs_device.cpp: one conflict, main's copy of the base list proxy, which #396 edited and the first merge had dropped for #984's list proxy (the Reset rule of #396 is in #984's list_slot). Ours.
- runtime/shims/d3d12_xs_device.h: merged clean, unchanged.
- runtime/test/xs_proxy_mock_test.cpp: git added main's console_to_pc_list_slot(139) check next to the copy the first merge had put two lines lower; one stays, in main's place.

Every line the two pull requests added to these three files is in the result.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Jan Trencansky
2026-11-24 19:57:34 -05:00

View File

@ -3367,8 +3367,8 @@ int check_console_command_list() {
EXPECT(xs::console_to_pc_list_slot(60) == 58); // EndEvent
EXPECT(xs::console_to_pc_list_slot(61) == 59); // ExecuteIndirect
EXPECT(xs::console_to_pc_list_slot(85) == 16); // CopyTextureRegion
EXPECT(xs::console_to_pc_list_slot(146) == 80); // GCL7 Barrier
EXPECT(xs::console_to_pc_list_slot(139) == 10); // Reset, as the retail title calls it
EXPECT(xs::console_to_pc_list_slot(146) == 80); // GCL7 Barrier
EXPECT(xs::console_to_pc_list_slot(148) == xs::kListNotForwarded); // AllocateUploadMemory
xs::reset_device_proxy_stats(); // the list slot counts below start from this test