From e9abab7cd4751df43d9c5a20fb4504e468eafbe6 Mon Sep 17 00:00:00 2001 From: Andrew <117602754+Andrew1Hawes@users.noreply.github.com> Date: Sun, 21 Apr 2024 13:48:39 +0100 Subject: [PATCH] coreinit/mcp: Add MCP_TriggerCrashLogCollection --- include/coreinit/mcp.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/coreinit/mcp.h b/include/coreinit/mcp.h index 58802213..31955652 100644 --- a/include/coreinit/mcp.h +++ b/include/coreinit/mcp.h @@ -358,6 +358,16 @@ MCP_CompatLoadAVFile(int32_t handle, uint32_t *size, MCPCompatAVFile file); +/** + * Saves the current Cafe log to the SLC logs directory. + * Internally calls IOS_Ioctl() with request \c 0xCD . + * + * \return + * \c 0 on success. + */ +MCPError +MCP_TriggerCrashLogCollection(int32_t handle); + #ifdef __cplusplus } #endif