diff options
author | Reiko Asakura | 2020-07-25 13:14:33 -0400 |
---|---|---|
committer | Reiko Asakura | 2020-07-25 13:14:33 -0400 |
commit | 2e2d3524dc21abb64a79406602c8ac3fcf1dcf9b (patch) | |
tree | 9ec9dd92c4eac8fdfa65f70fb46d43e6ac654cc5 /include/user | |
parent | Add all remaining NIDs in SceSysclibForDriver (diff) | |
download | vds-libraries-2e2d3524dc21abb64a79406602c8ac3fcf1dcf9b.tar.gz |
Minor fixes in psp2/appmgr.h
Diffstat (limited to 'include/user')
-rw-r--r-- | include/user/appmgr.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h index e912ce5..49f8bad 100644 --- a/include/user/appmgr.h +++ b/include/user/appmgr.h @@ -99,9 +99,9 @@ typedef struct sceAppMgrLoadExecOptParam { #define SCE_APPMGR_MAX_APP_NAME_LENGTH (31) -#define SCE_APPMGR_BUDGET_MODE_MAIN 2 -#define SCE_APPMGR_BUDGET_MODE_MAIN_PHYCONT 3 -#define SCE_APPMGR_BUDGET_MODE_MAIN_PHYCONT_CDLG 4 +#define SCE_APPMGR_BUDGET_MODE_MAIN 2 // Main LPDDR2 only +#define SCE_APPMGR_BUDGET_MODE_MAIN_PHYCONT 3 // Main and phycont or CDLG which is also contiguous +#define SCE_APPMGR_BUDGET_MODE_MAIN_PHYCONT_CDLG 4 // Main and phycont and CDLG typedef struct SceAppMgrBudgetInfo { // 0x00 @@ -112,12 +112,12 @@ typedef struct SceAppMgrBudgetInfo { // 0x10 SceUInt32 freeMain; //!< Free main LPDDR2 in bytes SceUInt32 hasCdlg; //!< Has CDLG memory type in budget - SceUInt32 unk_14; //!< Only if CDLG is used, otherwise 0 + SceUInt32 unk_14; //!< Non-zero if CDLG is used, otherwise 0 SceUInt32 budgetCdlg; //!< CDLG budget in bytes // 0x20 SceUInt32 freeCdlg; //!< Free CDLG in bytes SceUInt32 unk_24; //!< always 0 - SceUInt32 unk_28; //!< Only phycont is used, otherwise 0 + SceUInt32 unk_28; //!< Non-zero if phycont is used, otherwise 0 SceUInt32 budgetPhycont; //!< Phycont budget in bytes // 0x30 SceUInt32 freePhycont; //!< Free phycont in bytes @@ -540,7 +540,7 @@ typedef struct SceSharedFbInfo SceSharedFbInfo; SceUID _sceSharedFbOpen(int index, SceUInt32 buildVersion); static __inline__ -SceUID sceSharedFbOpen(int index, SceUInt32 buildVersion) { +SceUID sceSharedFbOpen(int index) { return _sceSharedFbOpen(index, _SCE_APPMGR_VERSION); } |