Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/Add some functions #6

Open
wants to merge 4 commits into
base: firmware505
from
Open
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+1,275 −42
Diff settings

Always

Just for now

Copy path View file
@@ -21,7 +21,7 @@ $(eval $(call generateModuleLarge, libScePigletv2VSH, $(libScePigletv2VSH)))
# all plain modules and symbols here
$(eval $(call generateModule, libSceCamera, sceCameraAudioOpen sceCameraClose sceCameraCloseByHandle sceCameraGetAttribute sceCameraGetAutoExposureGain sceCameraGetAutoWhiteBalance sceCameraGetCalibrationData sceCameraGetConfig sceCameraGetContrast sceCameraGetDefectivePixelCancellation sceCameraGetDeviceInfo sceCameraGetExposureGain sceCameraGetFrameData sceCameraGetGamma sceCameraGetHue sceCameraGetLensCorrection sceCameraGetSaturation sceCameraGetSharpness sceCameraGetWhiteBalance sceCameraIsAttached sceCameraIsValidFrameData sceCameraOpen sceCameraOpenByModuleId sceCameraSetAttribute sceCameraSetAutoExposureGain sceCameraSetAutoWhiteBalance sceCameraSetCalibData sceCameraSetConfig sceCameraSetConfigInternal sceCameraSetContrast sceCameraSetDefectivePixelCancellation sceCameraSetExposureGain sceCameraSetGamma sceCameraSetHue sceCameraSetLensCorrection sceCameraSetSaturation sceCameraSetSharpness sceCameraSetWhiteBalance sceCameraStart sceCameraStartByHandle sceCameraStop sceCameraStopByHandle))
$(eval $(call generateModule, libSceNet, sceNetAccept sceNetBind sceNetConnect sceNetGetsockname sceNetGetsockopt sceNetHtonl sceNetHtonll sceNetHtons sceNetInetNtop sceNetInetPton sceNetListen sceNetNtohl sceNetNtohll sceNetNtohs sceNetRecv sceNetSend sceNetSetsockopt sceNetSocket sceNetSocketAbort sceNetSocketClose))
$(eval $(call generateModule, libScePad, scePadClose scePadInit scePadOpen scePadRead scePadReadState))
$(eval $(call generateModule, libScePad, scePadClose scePadInit scePadOpen scePadRead scePadReadState scePadSetVibration scePadSetLightBar scePadResetLightBar))
$(eval $(call generateModule, libSceSysmodule, sceSysmoduleIsLoaded sceSysmoduleLoadModule sceSysmoduleUnloadModule))
$(eval $(call generateModule, libSceUsbd, sceUsbdBulkTransfer sceUsbdCheckConnected sceUsbdClearHalt sceUsbdClose sceUsbdControlTransfer sceUsbdExit sceUsbdFreeConfigDescriptor sceUsbdFreeDeviceList sceUsbdGetActiveConfigDescriptor sceUsbdGetConfigDescriptor sceUsbdGetConfigDescriptorByValue sceUsbdGetDeviceDescriptor sceUsbdGetDeviceList sceUsbdInit sceUsbdInterruptTransfer sceUsbdOpen sceUsbdOpenDeviceWithVidPid sceUsbdResetDevice sceUsbdSetInterfaceAltSetting))
$(eval $(call generateModule, libSceUserService, sceUserServiceInitialize sceUserServiceTerminate sceUserServiceGetLoginUserIdList sceUserServiceGetEvent sceUserServiceGetInitialUser sceUserServiceGetUserName sceUserServiceGetUserColor))
@@ -30,8 +30,13 @@ $(eval $(call generateModule, libSceGnmDriver, sceGnmFlushGarlic))
$(eval $(call generateModule, libSceSystemService, sceSystemServiceHideSplashScreen))
$(eval $(call generateModule, libSceAudioOut, sceAudioOutInit sceAudioOutOpen sceAudioOutClose sceAudioOutOutput sceAudioOutSetVolume))
$(eval $(call generateModule, libSceIme, sceImeKeyboardOpen sceImeKeyboardClose sceImeKeyboardUpdate sceImeKeyboardGetInfo sceImeKeyboardSetMode sceImeKeyboardGetResourceId sceImeUpdate sceImeOpen sceImeClose sceImeParamInit sceImeSetText))


$(eval $(call generateModule, libSceCommonDialog, sceCommonDialogInitialize sceCommonDialogIsUsed))
$(eval $(call generateModule, libSceErrorDialog, sceErrorDialogClose sceErrorDialogGetStatus sceErrorDialogInitialize sceErrorDialogOpen sceErrorDialogTerminate sceErrorDialogUpdateStatus))
$(eval $(call generateModule, libSceWebBrowserDialog, sceWebBrowserDialogClose sceWebBrowserDialogGetResult sceWebBrowserDialogGetStatus sceWebBrowserDialogInitialize sceWebBrowserDialogOpen sceWebBrowserDialogOpenForPredeterminedContent sceWebBrowserDialogResetCookie sceWebBrowserDialogSetCookie sceWebBrowserDialogTerminate sceWebBrowserDialogUpdateStatus))
$(eval $(call generateModule, libSceSaveData, sceSaveDataInitialize3 sceSaveDataTerminate sceSaveDataMount2 sceSaveDataTransferringMount sceSaveDataUmount sceSaveDataUmountWithBackup sceSaveDataGetMountInfo sceSaveDataDelete sceSaveDataDirNameSearch sceSaveDataSetParam sceSaveDataGetParam sceSaveDataSaveIcon sceSaveDataLoadIcon sceSaveDataSyncSaveDataMemory sceSaveDataSetupSaveDataMemory2 sceSaveDataGetSaveDataMemory2 sceSaveDataSetSaveDataMemory2 sceSaveDataRestoreBackupData sceSaveDataCheckBackupData sceSaveDataBackup sceSaveDataGetProgress sceSaveDataClearProgress sceSaveDataGetEventResult))
$(eval $(call generateModule, libSceNpTrophy, sceNpTrophyCreateHandle sceNpTrophyDestroyHandle sceNpTrophyAbortHandle sceNpTrophyCreateContext sceNpTrophyDestroyContext sceNpTrophyRegisterContext sceNpTrophyUnlockTrophy sceNpTrophyGetTrophyUnlockState sceNpTrophyGetGameInfo sceNpTrophyGetGroupInfo sceNpTrophyGetTrophyInfo sceNpTrophyGetGameIcon sceNpTrophyGetGroupIcon sceNpTrophyGetTrophyIcon sceNpTrophyShowTrophyList sceNpTrophyCaptureScreenshot))
$(eval $(call generateModule, libSceMsgDialog, sceMsgDialogInitialize sceMsgDialogOpen sceMsgDialogUpdateStatus sceMsgDialogGetStatus sceMsgDialogGetResult sceMsgDialogTerminate sceMsgDialogClose sceMsgDialogProgressBarInc sceMsgDialogProgressBarSetValue sceMsgDialogProgressBarSetMsg))
$(eval $(call generateModule, libSceSaveDataDialog, sceSaveDataDialogInitialize sceSaveDataDialogTerminate sceSaveDataDialogUpdateStatus sceSaveDataDialogGetStatus sceSaveDataDialogGetResult sceSaveDataDialogOpen sceSaveDataDialogClose sceSaveDataDialogProgressBarInc sceSaveDataDialogProgressBarSetValue sceSaveDataDialogIsReadyToDisplay))

# no need to touch, generates non-module libs
$(eval $(call generateLibraryLarge, kern_function, libps4Kernel, none, $(kerns)))
Copy path View file
@@ -0,0 +1,20 @@
#pragma once

#include <stdbool.h>
#include <stdint.h>
#include <string.h>

#include <sce/types/commondialog.h>

int32_t sceCommonDialogInitialize();
bool sceCommonDialogIsUsed();

static inline void _sceCommonDialogSetMagicNumber(uint32_t* magic, const SceCommonDialogBaseParam* param) {
*magic = (uint32_t)(SCE_COMMON_DIALOG_MAGIC_NUMBER + (uint64_t)param);
}

static inline void _sceCommonDialogBaseParamInit(SceCommonDialogBaseParam* param) {
memset(param, 0x0, sizeof(SceCommonDialogBaseParam));
param->size = (uint32_t)sizeof(SceCommonDialogBaseParam);
_sceCommonDialogSetMagicNumber(&(param->magic), param);
}
Copy path View file
@@ -0,0 +1,20 @@
#pragma once

#include <stdint.h>
#include <string.h>

#include <sce/types/errordialog.h>
#include <sce/types/userservice.h>

int32_t sceErrorDialogInitialize(void);
int32_t sceErrorDialogTerminate(void);
int32_t sceErrorDialogOpen(const SceErrorDialogParam *param);
int32_t sceErrorDialogClose(void);
SceErrorDialogStatus sceErrorDialogUpdateStatus(void);
SceErrorDialogStatus sceErrorDialogGetStatus(void);

static inline void sceErrorDialogParamInitialize(SceErrorDialogParam *param) {
memset(param, 0x0, sizeof(SceErrorDialogParam));
param->size = sizeof(SceErrorDialogParam);
param->userId = SCE_USER_SERVICE_USER_ID_EVERYONE;
}
Copy path View file
@@ -0,0 +1,24 @@
#pragma once

#include <stdint.h>
#include <string.h>

#include <sce/commondialog.h>
#include <sce/types/msgdialog.h>

static inline void sceMsgDialogParamInitialize(SceMsgDialogParam *param) {
memset(param, 0x0, sizeof(SceMsgDialogParam));
_sceCommonDialogBaseParamInit(&param->baseParam);
param->size = sizeof(SceMsgDialogParam);
}

int32_t sceMsgDialogInitialize(void);
int32_t sceMsgDialogOpen(const SceMsgDialogParam *param);
SceCommonDialogStatus sceMsgDialogUpdateStatus(void);
SceCommonDialogStatus sceMsgDialogGetStatus(void);
int32_t sceMsgDialogGetResult(SceMsgDialogResult *result);
int32_t sceMsgDialogTerminate(void);
int32_t sceMsgDialogClose(void);
int32_t sceMsgDialogProgressBarInc(SceMsgDialogProgressBarTarget target, int32_t delta);
int32_t sceMsgDialogProgressBarSetValue(SceMsgDialogProgressBarTarget target, uint32_t rate);
int32_t sceMsgDialogProgressBarSetMsg(SceMsgDialogProgressBarTarget target, const char *barMsg);
Copy path View file
@@ -1,12 +1,15 @@
#pragma once

#include <stdint.h>

#include <sce/types/pad.h>
#include <sce/types/userservice.h>

int scePadInit(void);
int scePadOpen(SceUserServiceUserId userId,int type,int index,uint8_t *param);
int scePadOpen(SceUserServiceUserId userId, int type, int index, uint8_t *param);
int scePadClose(int handle);
int scePadRead(int handle, ScePadData *data, int count);
int scePadReadState(int handle, ScePadData *data);

int scePadSetVibration(int32_t handle, const ScePadVibrationParam *pParam);
int scePadSetLightBar(int32_t handle, const ScePadLightBarParam *pParam);
int scePadResetLightBar(int32_t handle);
Copy path View file
@@ -0,0 +1,29 @@
#pragma once

#include <stddef.h>

#include <sce/types/savedata.h>

int32_t sceSaveDataInitialize3(const SceSaveDataInitParams3 *initParam);
int32_t sceSaveDataTerminate();
int32_t sceSaveDataMount2(const SceSaveDataMount2 *mount, SceSaveDataMountResult *mountResult);
int32_t sceSaveDataTransferringMount(const SceSaveDataTransferringMount *mount, SceSaveDataMountResult *mountResult);
int32_t sceSaveDataUmount(const SceSaveDataMountPoint *mountPoint);
int32_t sceSaveDataUmountWithBackup(const SceSaveDataMountPoint *mountPoint);
int32_t sceSaveDataGetMountInfo(const SceSaveDataMountPoint *mountPoint, SceSaveDataMountInfo *info);
int32_t sceSaveDataDelete(const SceSaveDataDelete *del);
int32_t sceSaveDataDirNameSearch(const SceSaveDataDirNameSearchCond *cond, SceSaveDataDirNameSearchResult *result);
int32_t sceSaveDataSetParam(const SceSaveDataMountPoint *mountPoint, const SceSaveDataParamType paramType, const void *paramBuf, const size_t paramBufSize);
int32_t sceSaveDataGetParam(const SceSaveDataMountPoint *mountPoint, const SceSaveDataParamType paramType, void *paramBuf, const size_t paramBufSize, size_t *gotSize);
int32_t sceSaveDataSaveIcon(const SceSaveDataMountPoint *mountPoint, const SceSaveDataIcon *param);
int32_t sceSaveDataLoadIcon(const SceSaveDataMountPoint *mountPoint, SceSaveDataIcon *param);
int32_t sceSaveDataSyncSaveDataMemory(const SceSaveDataMemorySync *syncParam);
int32_t sceSaveDataSetupSaveDataMemory2(const SceSaveDataMemorySetup2 *setupParam, SceSaveDataMemorySetupResult *result);
int32_t sceSaveDataGetSaveDataMemory2(SceSaveDataMemoryGet2 *getParam);
int32_t sceSaveDataSetSaveDataMemory2(const SceSaveDataMemorySet2 *setParam);
int32_t sceSaveDataRestoreBackupData(const SceSaveDataRestoreBackupData *restore);
int32_t sceSaveDataCheckBackupData(const SceSaveDataCheckBackupData *check);
int32_t sceSaveDataBackup(const SceSaveDataBackup *backup);
int32_t sceSaveDataGetProgress(float *progress);
int32_t sceSaveDataClearProgress(void);
int32_t sceSaveDataGetEventResult(const SceSaveDataEventParam *param, SceSaveDataEvent *event);
Copy path View file
@@ -0,0 +1,24 @@
#pragma once

#include <stdint.h>
#include <string.h>

#include <sce/commondialog.h>
#include <sce/types/savedatadialog.h>

static inline void sceSaveDataDialogParamInitialize(SceSaveDataDialogParam *param) {
memset(param, 0x0, sizeof(SceSaveDataDialogParam));
_sceCommonDialogBaseParamInit(&param->baseParam);
param->size = sizeof(SceSaveDataDialogParam);
}

int32_t sceSaveDataDialogInitialize();
int32_t sceSaveDataDialogTerminate(void);
SceCommonDialogStatus sceSaveDataDialogUpdateStatus(void);
SceCommonDialogStatus sceSaveDataDialogGetStatus(void);
int32_t sceSaveDataDialogGetResult(SceSaveDataDialogResult *result);
int32_t sceSaveDataDialogOpen(const SceSaveDataDialogParam *param);
int32_t sceSaveDataDialogClose(const SceSaveDataDialogCloseParam *closeParam);
int32_t sceSaveDataDialogProgressBarInc(SceSaveDataDialogProgressBarTarget target, uint32_t delta);
int32_t sceSaveDataDialogProgressBarSetValue(SceSaveDataDialogProgressBarTarget target, uint32_t rate);
int32_t sceSaveDataDialogIsReadyToDisplay();
Copy path View file
@@ -2,6 +2,144 @@

#include <stdint.h>

#define SCE_SYSMODULE_INVALID 0x0000
#define SCE_SYSMODULE_FIBER 0x0006
#define SCE_SYSMODULE_ULT 0x0007
#define SCE_SYSMODULE_NGS2 0x000b
#define SCE_SYSMODULE_XML 0x0017
#define SCE_SYSMODULE_NP_UTILITY 0x0019
#define SCE_SYSMODULE_VOICE 0x001a
#define SCE_SYSMODULE_VOICEQOS 0x001b
#define SCE_SYSMODULE_NP_MATCHING2 0x001c
#define SCE_SYSMODULE_NP_SCORE_RANKING 0x001e
#define SCE_SYSMODULE_RUDP 0x0021
#define SCE_SYSMODULE_NP_TUS 0x002c
#define SCE_SYSMODULE_FACE 0x0038
#define SCE_SYSMODULE_SMART 0x0039
#define SCE_SYSMODULE_GAME_LIVE_STREAMING 0x0081
#define SCE_SYSMODULE_COMPANION_UTIL 0x0082
#define SCE_SYSMODULE_PLAYGO 0x0083
#define SCE_SYSMODULE_FONT 0x0084
#define SCE_SYSMODULE_VIDEO_RECORDING 0x0085
#define SCE_SYSMODULE_S3DCONVERSION 0x0086
#define SCE_SYSMODULE_AUDIODEC 0x0088
#define SCE_SYSMODULE_JPEG_DEC 0x008a
#define SCE_SYSMODULE_JPEG_ENC 0x008b
#define SCE_SYSMODULE_PNG_DEC 0x008c
#define SCE_SYSMODULE_PNG_ENC 0x008d
#define SCE_SYSMODULE_VIDEODEC 0x008e
#define SCE_SYSMODULE_MOVE 0x008f
#define SCE_SYSMODULE_PAD_TRACKER 0x0091
#define SCE_SYSMODULE_DEPTH 0x0092
#define SCE_SYSMODULE_HAND 0x0093
#define SCE_SYSMODULE_LIBIME 0x0095
#define SCE_SYSMODULE_IME_DIALOG 0x0096
#define SCE_SYSMODULE_NP_PARTY 0x0097
#define SCE_SYSMODULE_FONT_FT 0x0098
#define SCE_SYSMODULE_FREETYPE_OT 0x0099
#define SCE_SYSMODULE_FREETYPE_OL 0x009a
#define SCE_SYSMODULE_FREETYPE_OPT_OL 0x009b
#define SCE_SYSMODULE_SCREEN_SHOT 0x009c
#define SCE_SYSMODULE_NP_AUTH 0x009d
#define SCE_SYSMODULE_SULPHA 0x009f
#define SCE_SYSMODULE_SAVE_DATA_DIALOG 0x00a0
#define SCE_SYSMODULE_INVITATION_DIALOG 0x00a2
#define SCE_SYSMODULE_DEBUG_KEYBOARD 0x00a3
#define SCE_SYSMODULE_MESSAGE_DIALOG 0x00a4
#define SCE_SYSMODULE_AV_PLAYER 0x00a5
#define SCE_SYSMODULE_CONTENT_EXPORT 0x00a6
#define SCE_SYSMODULE_AUDIO_3D 0x00a7
#define SCE_SYSMODULE_NP_COMMERCE 0x00a8
#define SCE_SYSMODULE_MOUSE 0x00a9
#define SCE_SYSMODULE_COMPANION_HTTPD 0x00aa
#define SCE_SYSMODULE_WEB_BROWSER_DIALOG 0x00ab
#define SCE_SYSMODULE_ERROR_DIALOG 0x00ac
#define SCE_SYSMODULE_NP_TROPHY 0x00ad
#define SCE_SYSMODULE_RESERVED30 0x00ae
#define SCE_SYSMODULE_RESERVED31 0x00af
#define SCE_SYSMODULE_NP_SNS_FACEBOOK 0x00b0
#define SCE_SYSMODULE_MOVE_TRACKER 0x00b1
#define SCE_SYSMODULE_NP_PROFILE_DIALOG 0x00b2
#define SCE_SYSMODULE_NP_FRIEND_LIST_DIALOG 0x00b3
#define SCE_SYSMODULE_APP_CONTENT 0x00b4
#define SCE_SYSMODULE_NP_SIGNALING 0x00b5
#define SCE_SYSMODULE_REMOTE_PLAY 0x00b6
#define SCE_SYSMODULE_USBD 0x00b7
#define SCE_SYSMODULE_GAME_CUSTOM_DATA_DIALOG 0x00b8
#define SCE_SYSMODULE_RESERVED0 0x00b9
#define SCE_SYSMODULE_RESERVED1 0x00ba
#define SCE_SYSMODULE_RESERVED2 0x00bb
#define SCE_SYSMODULE_M4AAC_ENC 0x00bc
#define SCE_SYSMODULE_AUDIODEC_CPU 0x00bd
#define SCE_SYSMODULE_RESERVED32 0x00be
#define SCE_SYSMODULE_RESERVED33 0x00c0
#define SCE_SYSMODULE_RESERVED3 0x00c1
#define SCE_SYSMODULE_RESERVED4 0x00c2
#define SCE_SYSMODULE_RESERVED5 0x00c3
#define SCE_SYSMODULE_RESERVED6 0x00c4
#define SCE_SYSMODULE_ZLIB 0x00c5
#define SCE_SYSMODULE_RESERVED8 0x00c6
#define SCE_SYSMODULE_CONTENT_SEARCH 0x00c7
#define SCE_SYSMODULE_RESERVED9 0x00c8
#define SCE_SYSMODULE_RESERVED34 0x00c9
#define SCE_SYSMODULE_DECI4H 0x00ca
#define SCE_SYSMODULE_HEAD_TRACKER 0x00cb
#define SCE_SYSMODULE_RESERVED11 0x00cc
#define SCE_SYSMODULE_RESERVED12 0x00cd
#define SCE_SYSMODULE_SYSTEM_GESTURE 0x00ce
#define SCE_SYSMODULE_VIDEODEC2 0x00cf
#define SCE_SYSMODULE_RESERVED14 0x00d0
#define SCE_SYSMODULE_AT9_ENC 0x00d1
#define SCE_SYSMODULE_CONVERT_KEYCODE 0x00d2
#define SCE_SYSMODULE_SHARE_PLAY 0x00d3
#define SCE_SYSMODULE_HMD 0x00d4
#define SCE_SYSMODULE_RESERVED18 0x00d5
#define SCE_SYSMODULE_RESERVED16 0x00d6
#define SCE_SYSMODULE_RESERVED17 0x00d7
#define SCE_SYSMODULE_FACE_TRACKER 0x00d8
#define SCE_SYSMODULE_HAND_TRACKER 0x00d9
#define SCE_SYSMODULE_RESERVED19 0x00da
#define SCE_SYSMODULE_RESERVED20 0x00dc
#define SCE_SYSMODULE_RESERVED21 0x00dd
#define SCE_SYSMODULE_RESERVED22 0x00de
#define SCE_SYSMODULE_RESERVED23 0x00df
#define SCE_SYSMODULE_RESERVED24 0x00e0
#define SCE_SYSMODULE_AUDIODEC_CPU_HEVAG 0x00e1
#define SCE_SYSMODULE_LOGIN_DIALOG 0x00e2
#define SCE_SYSMODULE_LOGIN_SERVICE 0x00e3
#define SCE_SYSMODULE_SIGNIN_DIALOG 0x00e4
#define SCE_SYSMODULE_RESERVED35 0x00e5
#define SCE_SYSMODULE_RESERVED25 0x00e6
#define SCE_SYSMODULE_JSON2 0x00e7
#define SCE_SYSMODULE_AUDIO_LATENCY_ESTIMATION 0x00e8
#define SCE_SYSMODULE_RESERVED26 0x00e9
#define SCE_SYSMODULE_RESERVED27 0x00ea
#define SCE_SYSMODULE_HMD_SETUP_DIALOG 0x00eb
#define SCE_SYSMODULE_RESERVED28 0x00ec
#define SCE_SYSMODULE_VR_TRACKER 0x00ed
#define SCE_SYSMODULE_CONTENT_DELETE 0x00ee
#define SCE_SYSMODULE_IME_BACKEND 0x00ef
#define SCE_SYSMODULE_NET_CTL_AP_DIALOG 0x00f0
#define SCE_SYSMODULE_PLAYGO_DIALOG 0x00f1
#define SCE_SYSMODULE_SOCIAL_SCREEN 0x00f2
#define SCE_SYSMODULE_EDIT_MP4 0x00f3
#define SCE_SYSMODULE_RESERVED37 0x00f5
#define SCE_SYSMODULE_TEXT_TO_SPEECH 0x00f6
#define SCE_SYSMODULE_RESERVED38 0x00f8
#define SCE_SYSMODULE_RESERVED39 0x00f9
#define SCE_SYSMODULE_RESERVED40 0x00fa
#define SCE_SYSMODULE_BLUETOOTH_HID 0x00fb
#define SCE_SYSMODULE_RESERVED41 0x00fc
#define SCE_SYSMODULE_VR_SERVICE_DIALOG 0x00fd
#define SCE_SYSMODULE_JOB_MANAGER 0x00fe
#define SCE_SYSMODULE_RESERVED42 0x00ff
#define SCE_SYSMODULE_SOCIAL_SCREEN_DIALOG 0x0100
#define SCE_SYSMODULE_RESERVED43 0x0101
#define SCE_SYSMODULE_NP_TOOLKIT2 0x0102
#define SCE_SYSMODULE_RESERVED44 0x0103
#define SCE_SYSMODULE_RESERVED45 0x0104
#define SCE_SYSMODULE_RESERVED46 0x00f7

int sceSysmoduleIsLoaded(uint16_t id);
int sceSysmoduleLoadModule(uint16_t id);
int sceSysmoduleUnloadModule(uint16_t id);
Copy path View file
@@ -0,0 +1,24 @@
#pragma once

#include <stddef.h>
#include <stdint.h>

#include <sce/types/userservice.h>
#include <sce/types/trophy.h>

int sceNpTrophyCreateHandle(SceNpTrophyHandle *handle);
int sceNpTrophyDestroyHandle(SceNpTrophyHandle handle);
int sceNpTrophyAbortHandle(SceNpTrophyHandle handle);
int sceNpTrophyCreateContext(SceNpTrophyContext *context, SceUserServiceUserId userId, SceNpServiceLabel serviceLabel, uint64_t options);
int sceNpTrophyDestroyContext(SceNpTrophyContext context);
int sceNpTrophyRegisterContext(SceNpTrophyContext context, SceNpTrophyHandle handle, uint64_t options);
int sceNpTrophyUnlockTrophy(SceNpTrophyContext context, SceNpTrophyHandle handle, SceNpTrophyId trophyId, SceNpTrophyId *platinumId);
int sceNpTrophyGetTrophyUnlockState(SceNpTrophyContext context, SceNpTrophyHandle handle, SceNpTrophyFlagArray *flags, uint32_t *count);
int sceNpTrophyGetGameInfo(SceNpTrophyContext context, SceNpTrophyHandle handle, SceNpTrophyGameDetails *details, SceNpTrophyGameData *data);
int sceNpTrophyGetGroupInfo(SceNpTrophyContext context, SceNpTrophyHandle handle, SceNpTrophyGroupId groupId, SceNpTrophyGroupDetails *details, SceNpTrophyGroupData *data);
int sceNpTrophyGetTrophyInfo(SceNpTrophyContext context, SceNpTrophyHandle handle, SceNpTrophyId trophyId, SceNpTrophyDetails *details, SceNpTrophyData *data);
int sceNpTrophyGetGameIcon(SceNpTrophyContext context, SceNpTrophyHandle handle, void *buffer, size_t *size);
int sceNpTrophyGetGroupIcon(SceNpTrophyContext context, SceNpTrophyHandle handle, SceNpTrophyGroupId groupId, void *buffer, size_t *size);
int sceNpTrophyGetTrophyIcon(SceNpTrophyContext context, SceNpTrophyHandle handle, SceNpTrophyId trophyId, void *buffer, size_t *size);
int sceNpTrophyShowTrophyList(SceNpTrophyContext context, SceNpTrophyHandle handle);
int sceNpTrophyCaptureScreenshot(SceNpTrophyHandle handle, const SceNpTrophyScreenshotTarget *targets, uint32_t numTargets);
@@ -0,0 +1,24 @@
#pragma once

#include <stddef.h>
#include <stdint.h>

#define SCE_COMMON_DIALOG_MAGIC_NUMBER 0xC0D1A109

typedef enum SceCommonDialogStatus {
SCE_COMMON_DIALOG_STATUS_NONE = 0,
SCE_COMMON_DIALOG_STATUS_INITIALIZED = 1,
SCE_COMMON_DIALOG_STATUS_RUNNING = 2,
SCE_COMMON_DIALOG_STATUS_FINISHED = 3
} SceCommonDialogStatus;

typedef enum SceCommonDialogResult {
SCE_COMMON_DIALOG_RESULT_OK = 0,
SCE_COMMON_DIALOG_RESULT_USER_CANCELED = 1,
} SceCommonDialogResult;

typedef struct SceCommonDialogBaseParam {
size_t size;
uint8_t reserved[36];
uint32_t magic;
} SceCommonDialogBaseParam;
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.