summaryrefslogtreecommitdiff
path: root/include/user
diff options
context:
space:
mode:
Diffstat (limited to 'include/user')
-rw-r--r--include/user/avconfig.h3
-rw-r--r--include/user/vshbridge.h11
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);