From c42fc16d8e179d46323acc6343533b616cbf5b79 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 19 Jan 2019 17:28:26 -0800 Subject: [PATCH] creport: RESULT_SUCCESS is not a defined value by libnx. --- stratosphere/creport/source/creport_crash_report.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/creport/source/creport_crash_report.cpp b/stratosphere/creport/source/creport_crash_report.cpp index 8a6dc786e..d202dff08 100644 --- a/stratosphere/creport/source/creport_crash_report.cpp +++ b/stratosphere/creport/source/creport_crash_report.cpp @@ -156,7 +156,7 @@ void CrashReport::HandleException(DebugEventInfo &d) { this->result = (Result)CrashReportResult::UserBreak; /* Try to parse out the user break result. */ if (kernelAbove500()) { - Result user_result = RESULT_SUCCESS; + Result user_result = 0; if (IsAddressReadable(d.info.exception.specific.user_break.address, sizeof(user_result))) { svcReadDebugProcessMemory(&user_result, this->debug_handle, d.info.exception.specific.user_break.address, sizeof(user_result)); }