mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
899 B
899 B
libkernel
change sceKernelWaitEqueue (libkernel) - firmware 13.42 checks only that the event count is positive
- sceKernelWaitEqueue (libkernel) - firmware 13.42 checks only that the event count is positive and then stores to the result pointer directly (read from disassembly, not measured on a console), so the console faults on a null result pointer; AnyPS5 returns
SCE_KERNEL_ERROR_EINVALinstead. A null event list returnsSCE_KERNEL_ERROR_EFAULThere before waiting, where the firmware passes it on to its wait call, whose answer is not measured. Unreadable timeout, unwritable result count, and unwritable event list outputs are probed viaGuestCopyIn_nid_no_patch/GuestCopyOut_nid_no_patchand returnSCE_KERNEL_ERROR_EFAULT(0x8002000e) as host-safety fallbacks.