diff options
-rw-r--r-- | include/user/np/np_common.h | 25 | ||||
-rw-r--r-- | nids/360/SceNpCommon.yml | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/include/user/np/np_common.h b/include/user/np/np_common.h new file mode 100644 index 0000000..2495ded --- /dev/null +++ b/include/user/np/np_common.h @@ -0,0 +1,25 @@ +/* + Vita Development Suite Libraries +*/ + +#ifndef _VDSUITE_USER_NP_NP_COMMON_H +#define _VDSUITE_USER_NP_NP_COMMON_H + +#include_next <np/np_common.h> + +#define SCE_NP_ENVIRONMENT_MAX_LENGTH 15 + +#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) +extern "C" { +#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */ + +int +sceNpGetEnvironment( + char *env + ); + +#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) +} +#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */ + +#endif /* _VDSUITE_USER_NP_NP_COMMON_H */ diff --git a/nids/360/SceNpCommon.yml b/nids/360/SceNpCommon.yml index 6a45b81..aeaa58e 100644 --- a/nids/360/SceNpCommon.yml +++ b/nids/360/SceNpCommon.yml @@ -18,5 +18,6 @@ modules: sceNpCmpNpId: 0xFB8D82E5 sceNpCmpNpIdInOrder: 0x6BC8150A sceNpCmpOnlineId: 0x8327C26F + sceNpGetEnvironment: 0xAD6403E0 sceNpGetPlatformType: 0xE9A003DE sceNpSetPlatformType: 0xE807D0BC |