diff --git a/stratosphere/creport/source/creport_crash_report.cpp b/stratosphere/creport/source/creport_crash_report.cpp index 01994e1e6..30059d1de 100644 --- a/stratosphere/creport/source/creport_crash_report.cpp +++ b/stratosphere/creport/source/creport_crash_report.cpp @@ -272,6 +272,11 @@ void CrashReport::SaveToFile(FILE *f_report) { case DebugExceptionType::BadSvc: fprintf(f_report, " Svc Id: 0x%02x\n", this->exception_info.specific.bad_svc.id); break; + case DebugExceptionType::UserBreak: + fprintf(f_report, " Break Reason: 0x%lx\n", this->exception_info.specific.user_break.break_reason); + fprintf(f_report, " Break Address: %s\n", this->code_list.GetFormattedAddressString(this->exception_info.specific.user_break.address)); + fprintf(f_report, " Break Size: 0x%lx\n", this->exception_info.specific.user_break.size); + break; default: break; } diff --git a/stratosphere/creport/source/creport_debug_types.hpp b/stratosphere/creport/source/creport_debug_types.hpp index 22421dbba..44daa7f67 100644 --- a/stratosphere/creport/source/creport_debug_types.hpp +++ b/stratosphere/creport/source/creport_debug_types.hpp @@ -76,7 +76,7 @@ struct AlignmentFaultInfo { }; struct UserBreakInfo { - u64 info_0; + u64 break_reason; u64 address; u64 size; };