Merge pull request #4962 from fdfawef324/feat/libScePad-unknown-zBsgF0q8DIM

feat(libScePad): declare the unknown import zBsgF0q8DIM
This commit is contained in:
Dean authored and GitHub committed 2026-10-14 19:38:31 +13:00
commit 4a34ebd5fa
2 files changed
+7

No files matched your search

+6
View File
@@ -319,4 +319,10 @@ int APS5_VABI scePadVrControllerGetTriggerEffectStates(void) {
return 0;
}
APS5_EXPORT("zBsgF0q8DIM", scePadUnknown_zBsgF0q8DIM);
int APS5_VABI scePadUnknown_zBsgF0q8DIM() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}
+1
View File
@@ -8,3 +8,4 @@
- [scePadSetVibrationMode](../../../core/libs/prx/libScePad/Export.cpp) (libScePad) - modes 0 to 3 are accepted and stored; the meaning of mode 3 is unknown (PPSA21480 calls it with 3 right after `scePadOpen` and aborts on failure; [SharpProspero](https://github.com/SvenGDK/SharpProspero/blob/main/src/SharpProspero/Interop/Pad/Pad.cs) names only 1 and 2). The stored mode has no other effect
- [scePadIsRemoteController](../../../core/libs/prx/libScePad/Export.cpp) (libScePad) - the name hashes to NID `fCWdlnmB1Ks`; the signature `(int handle, bool* remote)` comes from PPSA16064, which zeroes a byte, passes its address after `scePadGetControllerInformation` and ignores the result. The error codes follow the other pad calls. Controllers are local devices, so the answer is always false
- [scePadSetAngularVelocityBiasCorrectionState](../../../core/libs/prx/libScePad/Export.cpp) (libScePad) - inferred signature `(int handle, bool enabled)` follows `scePadSetTiltCorrectionState` and `scePadSetAngularVelocityDeadbandState`; an invalid handle returns `PAD_ERROR_INVALID_HANDLE`, disabling is a no-op, and enabling throws because bias correction is not modelled
- [scePadUnknown_zBsgF0q8DIM](../../../core/libs/prx/libScePad/Export.cpp) (libScePad, NID `zBsgF0q8DIM`) - PPSA03671 imports it and fails to load without it. The aerolib list has no name for the NID, and none of the pad names in SharpProspero, shadPS4 or OpenOrbis, nor the trigger effect, motion sensor, VR controller, HD and haptic names tried, hashes to it. It is declared without parameters and throws. The title's executable has an import stub for it but no call, jump or address reference to that stub, so the argument count and whether the result is used are unknown