mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
creport: RESULT_SUCCESS is not a defined value by libnx.
This commit is contained in:
parent
a09137c008
commit
c42fc16d8e
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue