diff --git a/include/coreinit/mcp.h b/include/coreinit/mcp.h index 31955652f..4963fd718 100644 --- a/include/coreinit/mcp.h +++ b/include/coreinit/mcp.h @@ -368,6 +368,18 @@ MCP_CompatLoadAVFile(int32_t handle, MCPError MCP_TriggerCrashLogCollection(int32_t handle); +/** + * Sets values to /storage_slc/sys/config/eco.xml + * + * \return + * \c 0 on success. + */ +MCPError +MCP_ChangeEcoSettings(int32_t handle, + uint32_t enable, + uint32_t maxOnTime, + uint16_t defaultOffTime); + #ifdef __cplusplus } #endif diff --git a/include/nn/ccr/sys_caffeine.h b/include/nn/ccr/sys_caffeine.h index fce8052a0..61d700de9 100644 --- a/include/nn/ccr/sys_caffeine.h +++ b/include/nn/ccr/sys_caffeine.h @@ -30,6 +30,18 @@ CCRSysCaffeineGetAppLaunchParam(CCRAppLaunchParam * data); uint32_t CCRSysCaffeineBootCheck(); +/** + * @return 0 on success, -1 on error + */ +int32_t +CCRSysCaffeineSetDRCEnableFlag(int32_t enabled); + +/** + * @return 0 on success, -1 on error + */ +int32_t +CCRSysCaffeineSetEnableFlag(int32_t enabled); + #ifdef __cplusplus } #endif