diff --git a/core/libs/prx/libScePad/Export.cpp b/core/libs/prx/libScePad/Export.cpp index e0a70c6f8..f2437a5a5 100644 --- a/core/libs/prx/libScePad/Export.cpp +++ b/core/libs/prx/libScePad/Export.cpp @@ -171,9 +171,9 @@ int APS5_VABI scePadResetOrientation(int handle) { } int APS5_VABI scePadSetAngularVelocityDeadbandState(int handle, bool enable) { - (void)handle; - (void)enable; - return 0; + if (handle != PAD_HANDLE) return PAD_ERROR_INVALID_HANDLE; + if (enable) NotImplemented_nid_no_patch(__func__); + return PAD_OK; } int APS5_VABI scePadSetLightBar(int handle, const PadLightBarParam* param) { diff --git a/core/libs/tests/GuestPad.cpp b/core/libs/tests/GuestPad.cpp index 20aacc302..8abd4f04f 100644 --- a/core/libs/tests/GuestPad.cpp +++ b/core/libs/tests/GuestPad.cpp @@ -61,6 +61,6 @@ int main() { Require(scePadClose_nid_postfix(handle) == 0); Require(scePadGetHandle(user, 0, 0) == noHandle); Require(scePadSetVibrationTriggerEffectWeakWhileEmbeddedMicInUse(true) == 0); - Require(scePadSetAngularVelocityDeadbandState(handle, true) == 0); Require(scePadSetAngularVelocityDeadbandState(handle, false) == 0); + Require(scePadSetAngularVelocityDeadbandState(handle + 1, false) == PAD_ERROR_INVALID_HANDLE); }