summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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