Merge pull request #763 from merwie/feat/libs-ppsa12544-plugin-exports

feat(libs): add exports imported by PPSA12544's Unity plugins
This commit is contained in:
Dean
2026-10-07 10:01:28 +13:00
committed by GitHub
6 changed files with 98 additions and 0 deletions
@@ -118,4 +118,30 @@ int APS5_VABI sceNpEntitlementAccessRequestConsumeUnifiedEntitlement(void) {
return SCE_NP_ERROR_SIGNED_OUT;
}
int APS5_VABI sceNpEntitlementAccessRequestConsumeServiceEntitlement(void) {
return SCE_NP_ERROR_SIGNED_OUT;
}
int APS5_VABI sceNpEntitlementAccessPollServiceEntitlementInfo(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNpEntitlementAccessPollUnifiedEntitlementInfo(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNpEntitlementAccessRequestServiceEntitlementInfo(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNpEntitlementAccessRequestUnifiedEntitlementInfo(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}
@@ -34,4 +34,15 @@ int APS5_VABI sceNpTrophy2UnregisterUnlockCallback() {
return SCE_NP_TROPHY2_OK;
}
int APS5_VABI sceNpTrophy2GetRewardIcon(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNpTrophy2ShowTrophyList(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}
+16
View File
@@ -104,4 +104,20 @@ int APS5_VABI sceShareCaptureScreenshotExtended(const void* extended_param, int3
return ERROR_NOT_SUPPORTED;
}
int APS5_VABI sceShareCaptureVideoClipExtended(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceShareGetRunningStatus(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceShareSetContentParamForApplicationTitle(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}
@@ -0,0 +1,38 @@
#include <cstdint>
#include <cstddef>
#include "SceTypes.hpp"
#include "prx/libc/include/General.hpp"
extern "C" {
int APS5_VABI sceVrSetupDialogClose(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrSetupDialogGetResult(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrSetupDialogInitialize(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrSetupDialogOpen(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrSetupDialogTerminate(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrSetupDialogUpdateStatus(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}
@@ -59,4 +59,10 @@ int APS5_VABI sceWebBrowserDialogUpdateStatus(void) {
return g_status.load();
}
int APS5_VABI sceWebBrowserDialogSetCookie(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}
+1
View File
@@ -98,6 +98,7 @@ Throughout the project, every function at every stage either **does exactly what
- [fCWdlnmB1Ks](../../core/libs/prx/libScePad/Export.cpp) (libScePad) - unknown name, signature
- [sceKernelGetOperationMode](../../core/libs/prx/libkernel/System/src/Process.cpp) (libkernel) - the signature `(int* mode, int* submode)` comes from PPSA12544, which logs both values after the call; the values are unknown and 0 is reported for both, as in the [prosper](https://github.com/mattias800/prosper/pull/4153) reimplementation. Null outputs throw
- Font, Http2, Net, Ssl, SystemService and libkernel exports imported by PPSA12544 and added without an implementation have unknown signatures
- [libSceVrSetupDialog](../../core/libs/prx/libSceVrSetupDialog/Export.cpp), and the Share, NpTrophy2, NpEntitlementAccess and WebBrowserDialog exports imported by PPSA12544's Unity plugins and added without an implementation, have unknown signatures
- [libSceAudioPropagation](../../core/libs/prx/libSceAudioPropagation/Export.cpp) (libSceAudioPropagation) - signatures and struct descriptors recovered from PPSA21567's calls (#481), not from documentation. The system options layout is unknown (only checked for non-null); the fourth argument of `sceAudioPropagationSourceCalculateAudioPaths` is unknown; `sceAudioPropagationSourceGetAudioPath` is assumed to output an 8-byte path handle. The meaning of the `RenderInfo` word at +0x28 is unknown (PPSA21567 and PPSA21564 pass 2); only 2 is accepted. Both titles pass one `RenderInfo` per call: a count of 0 throws, and larger counts are handled element by element without proof. No error code is known, so invalid input throws instead of returning one
- [sceAvPlayerStartEx](../../core/libs/prx/libSceAvPlayer/Export.cpp) (libSceAvPlayer) - start info layout unknown; it is ignored and playback starts as with `sceAvPlayerStart`
- [sceAvPlayerInit / sceAvPlayerInitEx](../../core/libs/prx/libSceAvPlayer/src/Player.cpp) (libSceAvPlayer) - behaviour without a memory replacement unknown; frame and sample buffers then come from the guest heap