Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions include/coreinit/mcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions include/nn/ccr/sys_caffeine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down