diff options
author | Reiko Asakura | 2020-04-03 12:16:22 -0400 |
---|---|---|
committer | Reiko Asakura | 2020-04-03 12:16:22 -0400 |
commit | 380efef5a82ca0d8963f8e1baec85c96b1a92fb4 (patch) | |
tree | c12d3b52faac0d81871419a139925776e3b12dea | |
parent | Add prototype kscePowerSetPsButtonPushTime (diff) | |
download | vds-libraries-380efef5a82ca0d8963f8e1baec85c96b1a92fb4.tar.gz |
Add prototype ksceDisplaySetScaleConf
-rw-r--r-- | include/kernel/display.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/kernel/display.h b/include/kernel/display.h index 18800c5..5cfdc9a 100644 --- a/include/kernel/display.h +++ b/include/kernel/display.h @@ -277,6 +277,18 @@ int sceDisplaySetInvertColors(int display, int enable); */ int sceDisplaySetOwner(int head, int index, SceUID pid); +/** + * Set display scaling configuration + * + * @param[in] scale - Scaling factor between 0.80000001 and 1.20000005 + * @param[in] head - Use 0 for OLED/LCD and 1 for HDMI + * @param[in] index - Can be 0 or 1 + * @param[in] flags - Returns error if ((flags & 1) && (flags & 0xC0)) + * + * @return 0 on success, < 0 on error. +*/ +int sceDisplaySetScaleConf(float scale, int head, int index, int flags); + #ifdef __cplusplus } #endif |