diff options
author | Reiko Asakura | 2020-09-01 18:57:20 -0400 |
---|---|---|
committer | Reiko Asakura | 2020-09-01 18:57:20 -0400 |
commit | de1aa043f1880d8f76205d5813ca397d976cdf79 (patch) | |
tree | 37a8ebe754ac4276a267ec9d8552838d2e3b76dc | |
parent | Add SceRegMgrForSDK function prototypes (diff) | |
download | vds-libraries-de1aa043f1880d8f76205d5813ca397d976cdf79.tar.gz |
Add SceVshBridge, SceAVConfig consts and protos
Diffstat (limited to '')
-rw-r--r-- | include/user/avconfig.h | 3 | ||||
-rw-r--r-- | include/user/vshbridge.h | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/include/user/avconfig.h b/include/user/avconfig.h index 46d49c8..7d28bd6 100644 --- a/include/user/avconfig.h +++ b/include/user/avconfig.h @@ -7,6 +7,9 @@ extern "C" { #endif +#define SCE_AVCONFIG_VOLUME_MAX 30 +#define SCE_AVCONFIG_VOLUME_AVLS_MAX 21 + #define SCE_AVCONFIG_VOLCTRL_UNK_0 0 #define SCE_AVCONFIG_VOLCTRL_ONBOARD 1 #define SCE_AVCONFIG_VOLCTRL_BLUETOOTH 2 diff --git a/include/user/vshbridge.h b/include/user/vshbridge.h index e2771f3..09f256b 100644 --- a/include/user/vshbridge.h +++ b/include/user/vshbridge.h @@ -42,7 +42,7 @@ int _vshIoMount(int id, const char *path, int permission, void *buf); * * @return 0 >= on success, < 0 on error. */ -int vshIoUmount(int id, int force, int unk2, int unk3); +int vshIoUmount(int id, int force, int unk2, int unk3); int vshIdStorageIsDirty(void); int vshIdStorageIsFormatted(void); @@ -64,6 +64,15 @@ int vshIdStorageReadLeaf(SceSize leafnum, void *buf); */ int vshIdStorageWriteLeaf(SceSize leafnum, const void *buf); +/** + * Sets the PS button hold time for showing the quick menu. + * + * @param time - Time in microseconds. + * + * @return 0 always + */ +int vshPowerSetPsButtonPushTime(int time); + int vshSblAimgrIsCEX(void); int vshSblAimgrIsDEX(void); int vshSblAimgrIsVITA(void); |