1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-20 05:53:24 +01:00

creport: Actually change report paths.

This commit is contained in:
Michael Scire 2018-07-29 16:54:15 -07:00
parent 84bcaf8dc6
commit c70420d996

View file

@ -226,7 +226,7 @@ void CrashReport::SaveReport() {
} }
/* Open report file. */ /* Open report file. */
snprintf(report_path, sizeof(report_path) - 1, "sdmc:/atmosphere/crash reports/%011lu_%016lx.log", timestamp, process_info.title_id); snprintf(report_path, sizeof(report_path) - 1, "sdmc:/atmosphere/crash_reports/%011lu_%016lx.log", timestamp, process_info.title_id);
FILE *f_report = fopen(report_path, "w"); FILE *f_report = fopen(report_path, "w");
if (f_report == NULL) { if (f_report == NULL) {
return; return;
@ -235,7 +235,7 @@ void CrashReport::SaveReport() {
fclose(f_report); fclose(f_report);
/* Dump threads. */ /* Dump threads. */
snprintf(report_path, sizeof(report_path) - 1, "sdmc:/atmosphere/crash reports/dumps/%011lu_%016lx_thread_info.bin", timestamp, process_info.title_id); snprintf(report_path, sizeof(report_path) - 1, "sdmc:/atmosphere/crash_reports/dumps/%011lu_%016lx_thread_info.bin", timestamp, process_info.title_id);
f_report = fopen(report_path, "wb"); f_report = fopen(report_path, "wb");
this->thread_list.DumpBinary(f_report, this->crashed_thread_info.GetId()); this->thread_list.DumpBinary(f_report, this->crashed_thread_info.GetId());
fclose(f_report); fclose(f_report);