pixrt10: match build 19041 worker processor affinity #246
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/246"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from omonkeyz/xbox-emulator. Originally posted by bambermf on 2026-11-23T07:18:24Z.
Library / area — pixrt10 worker thread affinity, based on upstream
6a1a4b1.Exports changed — None. The 19041 title initializer is still missing. This ports the mask selection its two worker entry points use.
Source of the behaviour — Build 19041 console pixrt10.dll. Headless IDA shows both worker entry points call RVA 0x1aa64, which gets the mask from RVA 0x1aa18 and passes it to SetThreadAffinityMask.
What was wrong
The shared worker helper selected 0x3000 for any process mask above 0x7f. Build 19041 tests bit six, including for sparse masks.
Measurements
I executed the console instructions at RVAs 0x1aa49 through 0x1aa5b in Unicorn, supplying the process mask after the Windows query. All 256 low-byte values plus three high-bit cases matched the ported rule.
Change and tests
The shared worker pinning path selects the measured rule for build 19041. The regression checks eight process masks across builds 19041, 22000 and 22621. Release tests for pixrt and pixrt10 passed (39 tests), and the PR gate passed. The mask comparison exercised the console calculation independently of host CPU availability. End-to-end startup on 19041 remains pending.
Imported from omonkeyz/xbox-emulator. Originally posted by bambermf on 2026-11-23T07:31:54Z.
Continued in #250
Pull request closed