Files
AnyPS5/docs/dev
zaryabzip 3b404f65e2 feat(libScePad): check the arguments of thirteen exports as firmware 13.42 does
From @BunnyFl's disassembly of the 13.42 libScePad.sprx (#15087):
GetDeviceInfo, GetCapability, GetVersionInfo, GetIdleCount,
GetControllerIdleCount, GetActiveTime, SetPS4BcVibrationMode,
GetInfoByPortType, GetExtensionUnitInfo, ReadHistory, OpenExt2,
ReadStateExt and GetDeviceId get their checks in order, and keep
throwing where the console asks the pad driver or reads state that isn't
modelled. ReadHistory's third argument is a byte size of 0x960, and
OpenExt2 takes (userId, 0x10, param).
2026-11-02 21:14:22 +05:00
..