From c6c994ca608ef5a6b8b7099dc0d4e29ef62e97e0 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Wed, 1 Mar 2017 12:10:34 +0100 Subject: [PATCH] Make ERRF_ExceptionInfo attributes more explicit --- libctru/include/3ds/errf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libctru/include/3ds/errf.h b/libctru/include/3ds/errf.h index 7f2ceb2..71d28e7 100644 --- a/libctru/include/3ds/errf.h +++ b/libctru/include/3ds/errf.h @@ -28,8 +28,8 @@ typedef enum { typedef struct { ERRF_ExceptionType type; ///< Type of the exception. One of the ERRF_EXCEPTION_* values. u8 reserved[3]; - u32 reg1; ///< If type is prefetch, this should be ifsr, and on data abort dfsr - u32 reg2; ///< If type is prefetch, this should be r15, and dfar on data abort + u32 fsr; ///< ifsr (prefetch abort) / dfsr (data abort) + u32 far; ///< pc = ifar (prefetch abort) / dfar (data abort) u32 fpexc; u32 fpinst; u32 fpint2;