Translate every shader, keep atomic loops from spinning on stale values, harden pool teardown, and update the README.

Shaders: a switch whose index is clamped against a register that a MOV of an immediate set before it now finds its
jump table (AmpereLowering.cs BrxTargets), so all 36,031 of the game's shader variants translate and no draw is skipped
for a failed one. The compare-and-swap loop behind storage-buffer atomics (patch 0033) takes the value a failed swap
returns as its next expected value instead of loading the word again, which on some drivers kept returning a stale
copy.

Memory: an unused physical pool outlives the submission being recorded, as virtual pages may still reach it through
device addresses; an image whose creation failed is not tried again for 2 s.

The installer and Linux texts name this game.
The README has the project icon, the current status, features, requirements and known issues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-07 18:02:35 -05:00
parent 5b7f6269e1
commit e7f6a00407
23 changed files with 156 additions and 64 deletions

View File

@@ -174,7 +174,7 @@ def program_nca(records, update=False):
require(len(programs) == 1, 'Expected one base Program NCA; updates, DLC and combined packages are unsupported')
record, hdr = programs[0]
require(record['title_id'] == '0100F2C0115B6000',
'Expected Ocarina of Time base game 1.0.0; updates, DLC and other games are unsupported')
'Expected the supported base game 1.0.0; updates, DLC and other games are unsupported')
return record, hdr