sceHttpCacheReadData copied min(size, remaining body bytes) and returned
that count as an int. A count above INT_MAX, reachable with a cached body
larger than 2 GiB and a caller buffer that large, was converted to a
negative int that callers read as an error, while the read offset had
already advanced. Clamp the count to INT_MAX before the copy, as the
sibling sceHttp2ReadData does, so the returned value is always a valid
byte count and the remaining bytes stay available to the next call.
Recover the 11.00 wrappers' path validation for sceHttpCacheSystemInit and sceHttpCacheSystemClearAll: a non-null path of at most 0x400 bytes. SystemInit stores the path and SystemClearAll clears the host's in-memory store, because the host has no on-disk cache. SystemShutdown returns 0 as its wrapper does. The wrappers' path conversion and the console's on-disk layout are not reproduced.
ContentBinder, CompanionUtil, ErrorDialog OpenDetail/OpenWithReport,
ImeDialog ForTestFunction, HttpCache SystemTerm/SendStatistics,
MoveTracker GetVersion/RecordStop, BluetoothHid and SystemGesture debug
versions and Mbus Term/AcquireControlList are a single constant return
in the firmware modules; these exports now return the same value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK