Skip to content

Commit e9abab7

Browse files
Andrew1HawesGaryOderNichts
authored andcommitted
coreinit/mcp: Add MCP_TriggerCrashLogCollection
1 parent 08cfb34 commit e9abab7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

include/coreinit/mcp.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,16 @@ MCP_CompatLoadAVFile(int32_t handle,
358358
uint32_t *size,
359359
MCPCompatAVFile file);
360360

361+
/**
362+
* Saves the current Cafe log to the SLC logs directory.
363+
* Internally calls IOS_Ioctl() with request \c 0xCD .
364+
*
365+
* \return
366+
* \c 0 on success.
367+
*/
368+
MCPError
369+
MCP_TriggerCrashLogCollection(int32_t handle);
370+
361371
#ifdef __cplusplus
362372
}
363373
#endif

0 commit comments

Comments
 (0)