aboutsummaryrefslogtreecommitdiffstats
path: root/source/handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/handlers.cpp')
-rw-r--r--source/handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/handlers.cpp b/source/handlers.cpp
index 2ff948d..43e65c3 100644
--- a/source/handlers.cpp
+++ b/source/handlers.cpp
@@ -108,7 +108,7 @@ void MemManage_Handler()
asm("mov %0, lr" : "=r" (lr));
// 2. Recover from the fault.
- ConversionManager::abort();
+ ConversionManager::abort((lr & (1 << 4)) ? false : true);
// 3. Return.
asm("mov lr, %0; bx lr" :: "r" (lr));