Files
AnyPS5/docs/dev/debt
JAB-devandClaude Sonnet 5.5 9c009622b5 fix(libSceNgs2): reject sampler racks outside 1 to 32 waveform blocks
A sampler rack or a custom sampler rack whose max_waveform_blocks is 0 or above
32 now returns 0x804A8053 from sceNgs2RackQueryBufferSize, sceNgs2RackCreate
and sceNgs2RackCreateWithAllocator, checked before the peak meter and buffer
count checks as the PS5 module does. Main checked only a custom sampler rack
with 0 and accepted any count for a sampler rack, taking 0 as 1.

The PS4 build keeps main's behaviour: no limit for sampler racks, and 0x804A8053
for a custom sampler rack with 0. PS4 11.00 takes 1 to 16 on sampler racks and
returns 0x804A0106, but the PS4 library reads the PS5 rack option layout, so it
cannot apply that.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-31 11:08:00 +02:00
..