creport: Further Skeleton Report saving.

This commit is contained in:
Michael Scire
2018-06-25 10:22:37 -06:00
parent 92bc396972
commit b8e0c2855f
4 changed files with 68 additions and 2 deletions

View File

@@ -95,6 +95,8 @@ int main(int argc, char **argv) {
/* Try to debug the crashed process. */
g_Creport.BuildReport(crashed_pid, argv[1][0] == '1');
if (g_Creport.WasSuccessful()) {
g_Creport.SaveReport();
if (R_SUCCEEDED(nsdevInitialize())) {
nsdevTerminateProcess(crashed_pid);
nsdevExit();