mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 00:50:52 +00:00
1.6 KiB
1.6 KiB
libScePad
change [scePadGetTriggerEffectState]
- scePadGetTriggerEffectState (libScePad) - returning PAD_ERROR_INVALID_ARG for an unwritable output pointer via GuestCopyOut_nid_no_patch with caller errno preserved is a host-safety fallback; whether the console faults or returns an argument error on unmapped memory is unmeasured. A PS5 (firmware 11.60, payload process; a title process may differ) answered
0x80920005withoutscePadInitorscePadOpenfor the handles 0, -1 and 0x1234 with a valid buffer, a null pointer and the unmapped address 0x10, left the buffer unchanged and did not fault; the answer comes before the pointer is read, so the pointer question stays unmeasured, and AnyPS5 answers the samePAD_ERROR_NOT_INITIALIZEDfirst in that state.
change [scePadGetMotionTimerUnit]
- scePadGetMotionTimerUnit (libScePad) - returning PAD_ERROR_INVALID_ARG with caller errno preserved for an unwritable unit pointer via GuestCopyOut_nid_no_patch is a host-safety fallback; whether the console faults or returns an argument error on unmapped memory is unmeasured. A PS5 (firmware 11.60, payload process; a title process may differ) answered
0x80920005withoutscePadInitorscePadOpenfor the handles 0, -1 and 0x1234 with a valid buffer, a null pointer and the unmapped address 0x10, left the buffer unchanged and did not fault; the answer comes before the pointer is read, so the pointer question stays unmeasured, and AnyPS5 answers the samePAD_ERROR_NOT_INITIALIZEDfirst in that state.