From 4b0e53cee8deef3e0e1b2bcec65708a709fa0098 Mon Sep 17 00:00:00 2001 From: Itai Levin Date: Tue, 16 Jun 2020 22:22:20 +0300 Subject: Added sceAVConfigSetDisplayColorSpaceMode prototype (#444) * Added sceAVConfigSetDisplayColorSpaceMode to header * Fixed typo * Added SceColorSpaceMode enum * Typo * Update avconfig.h * Update avconfig.h * Update avconfig.h--- include/user/avconfig.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include') 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 -- cgit v1.2.3