diff options
author | Itai Levin | 2020-06-16 22:22:20 +0300 |
---|---|---|
committer | GitHub | 2020-06-16 21:22:20 +0200 |
commit | 4b0e53cee8deef3e0e1b2bcec65708a709fa0098 (patch) | |
tree | 05ed3765865105c1a2c00feaeedc6219026ae2a9 | |
parent | Added sceSharedFb prototypes. (diff) | |
download | vds-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.h | 16 |
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 |