summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorItai Levin2020-06-16 22:22:20 +0300
committerGitHub2020-06-16 21:22:20 +0200
commit4b0e53cee8deef3e0e1b2bcec65708a709fa0098 (patch)
tree05ed3765865105c1a2c00feaeedc6219026ae2a9
parentAdded sceSharedFb prototypes. (diff)
downloadvds-libraries-4b0e53cee8deef3e0e1b2bcec65708a709fa0098.tar.gz
Added sceAVConfigSetDisplayColorSpaceMode prototype (#444)
* Added sceAVConfigSetDisplayColorSpaceMode to header * Fixed typo * Added SceColorSpaceMode enum * Typo * Update avconfig.h * Update avconfig.h * Update avconfig.h
Diffstat (limited to '')
-rw-r--r--include/user/avconfig.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/user/avconfig.h b/include/user/avconfig.h
index d171647..bef9ba4 100644
--- a/include/user/avconfig.h
+++ b/include/user/avconfig.h
@@ -7,6 +7,12 @@
extern "C" {
#endif
+/** Color Space Mode values to specify to ::sceAVConfigSetDisplayColorSpaceMode */
+typedef enum SceAVConfigColorSpaceMode {
+ SCE_AVCONFIG_COLOR_SPACE_MODE_DEFAULT = 0, //!< Default
+ SCE_AVCONFIG_COLOR_SPACE_MODE_HIGH_CONTRAST = 1 //!< High Contrast Mode
+} SceAVConfigColorSpaceMode;
+
/**
* Get the maximum brightness.
*
@@ -59,6 +65,16 @@ int sceAVConfigSetSystemVol(int volume);
*
*/
int sceAVConfigMuteOn(void);
+
+/**
+ * Sets the color space mode on runtime.
+ *
+ * @param[in] csm - see ::SceAVConfigColorSpaceMode()
+ *
+ * @return 0 on success, < 0 on error.
+ * @note - This does not change color_space_mode in the registry.
+ */
+int sceAVConfigSetDisplayColorSpaceMode(int csm);
#ifdef __cplusplus