mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
fopen resolved the random device paths to a host file that does not exist and failed with ENOENT, while open and sceKernelOpen already serve them from host entropy. A read-only fopen of either path now returns a stream whose fread fills the buffer with host entropy. setvbuf, feof, ferror, clearerr, the stream locks and fclose work on it, fflush returns 0 as on a FreeBSD stream that is not writing, other stream functions throw, and opening the paths for writing throws as in libkernel. ProsperoTV (PPSA99003) reads its phone pairing code this way and showed "Code expired or unavailable". Co-Authored-By: Claude Opus 5.5 <[email protected]>