mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-23 02:42:09 +00:00
creport: Actually change report paths.
This commit is contained in:
parent
84bcaf8dc6
commit
c70420d996
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue