1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 02:42:09 +00:00

creport: RESULT_SUCCESS is not a defined value by libnx.

This commit is contained in:
Michael Scire 2019-01-19 17:28:26 -08:00
parent a09137c008
commit c42fc16d8e

View file

@ -156,7 +156,7 @@ void CrashReport::HandleException(DebugEventInfo &d) {
this->result = (Result)CrashReportResult::UserBreak; this->result = (Result)CrashReportResult::UserBreak;
/* Try to parse out the user break result. */ /* Try to parse out the user break result. */
if (kernelAbove500()) { if (kernelAbove500()) {
Result user_result = RESULT_SUCCESS; Result user_result = 0;
if (IsAddressReadable(d.info.exception.specific.user_break.address, sizeof(user_result))) { 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)); svcReadDebugProcessMemory(&user_result, this->debug_handle, d.info.exception.specific.user_break.address, sizeof(user_result));
} }