Skip to content

Commit

Permalink
Added missing definitions for VitaShell
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOfficialFloW committed Feb 14, 2017
1 parent 367626b commit 86f6c85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/psp2/appmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ typedef struct SceAppMgrLaunchAppOptParam SceAppMgrLaunchAppOptParam; // Missing

#define SCE_APPMGR_MAX_APP_NAME_LENGTH (31)

//! Destroy all other apps
int sceAppMgrDestroyOtherApp(void);

//! name: The Title ID of the application
int sceAppMgrDestroyAppByName(char *name);

Expand Down
7 changes: 7 additions & 0 deletions include/psp2/power.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,13 @@ int scePowerRequestStandby(void);
*/
int scePowerRequestSuspend(void);

/**
* Request display off
*
* @return always 0
*/
int scePowerRequestDisplayOff(void);

/**
* Sets CPU clock frequency
*
Expand Down

3 comments on commit 86f6c85

@alexmaloteaux
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this breaks henkaku build . I m getting this error since this commit :
henkaku/bootstrap/bootstrap.c:524:8: error: too many arguments to function 'sceAppMgrDestroyOtherApp'

@devnoname120
Copy link
Member

@devnoname120 devnoname120 commented on 86f6c85 Mar 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheOfficialFloW Are you sure that this function takes no arguments? Henkaku seems to use it with an argument: https://github.com/henkaku/henkaku/blob/2a72b467ea9f1773bef44230777e86681e862bc4/bootstrap/bootstrap.c#L524

@devnoname120
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexmaloteaux Did henkaku/henkaku#47 fix your issue?

Please sign in to comment.