Skip to content

Commit

Permalink
Rename function to wrapper name
Browse files Browse the repository at this point in the history
SceAppMgr and SceRtc
  • Loading branch information
Princess-of-Sleeping committed Feb 23, 2022
1 parent 92e260e commit a8b3c6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
8 changes: 3 additions & 5 deletions include/psp2/appmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -563,14 +563,13 @@ typedef struct SceAppMgrCoredumpState {
*
* @return 0 on success, < 0 on error.
*/
int _sceAppMgrGetCoredumpStateForShell(SceAppMgrCoredumpState *state);
int sceAppMgrGetCoredumpStateForShell(SceAppMgrCoredumpState *state);

// missing structs
typedef struct SceAppMgrDrmOpenParam SceAppMgrDrmOpenParam;
typedef struct SceAppMgrAppInfo SceAppMgrAppInfo;

SceInt32 __sceAppMgrGetAppState(SceAppMgrAppState *state, SceSize state_size, SceUInt32 build_version);
SceInt32 _sceAppMgrDrmOpen(const SceAppMgrDrmOpenParam *param, SceSize *syscall_validity);
SceInt32 sceAppMgrDrmOpen(const SceAppMgrDrmOpenParam *param);

/**
* Get AppInfo via syscall directly
Expand All @@ -581,8 +580,7 @@ SceInt32 _sceAppMgrDrmOpen(const SceAppMgrDrmOpenParam *param, SceSize *syscall_
*
* @return 0 on success, < 0 on error.
*/
SceInt32 _sceAppMgrGetAppInfo(const char *unk, SceAppMgrAppState *state, SceUInt64 *syscall_validity);
SceInt32 _sceAppMgrReceiveSystemEvent(SceAppMgrSystemEvent *system_event);
SceInt32 sceAppMgrGetAppInfo(const char *unk, SceAppMgrAppState *state);

#ifdef __cplusplus
}
Expand Down
16 changes: 6 additions & 10 deletions include/psp2/rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,16 +305,12 @@ int _sceRtcFormatRFC3339(char *datetime, const SceRtcTick *utc, int offset, SceU
*/
int _sceRtcFormatRFC3339LocalTime(char *datetime, const SceRtcTick *utc, SceUInt64 *a3);

int _sceRtcGetCurrentAdNetworkTick(SceRtcTick *tick);
int _sceRtcGetCurrentClock(SceDateTime *time, int time_zone);
int _sceRtcGetCurrentClockLocalTime(SceDateTime *time);
int _sceRtcGetCurrentDebugNetworkTick(SceRtcTick *tick);
int _sceRtcGetCurrentGpsTick(SceRtcTick *tick);
int _sceRtcGetCurrentNetworkTick(SceRtcTick *tick);
int _sceRtcGetCurrentRetainedNetworkTick(SceRtcTick *tick);
int _sceRtcGetCurrentTick(SceRtcTick *tick);
int _sceRtcGetLastAdjustedTick(SceRtcTick *tick);
int _sceRtcGetLastReincarnatedTick(SceRtcTick *tick);
int sceRtcGetCurrentAdNetworkTick(SceRtcTick *tick);
int sceRtcGetCurrentDebugNetworkTick(SceRtcTick *tick);
int sceRtcGetCurrentGpsTick(SceRtcTick *tick);
int sceRtcGetCurrentRetainedNetworkTick(SceRtcTick *tick);
int sceRtcGetLastAdjustedTick(SceRtcTick *tick);
int sceRtcGetLastReincarnatedTick(SceRtcTick *tick);
SceULong64 sceRtcGetAccumulativeTime(void);

#ifdef __cplusplus
Expand Down

0 comments on commit a8b3c6c

Please sign in to comment.