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:
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;
|
||||
/* 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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue