From 4b67fe4947f9a99b54e7c93a8905d72e7153e6db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 9 Feb 2021 10:17:15 +0100 Subject: [PATCH] Remove now-redundant check --- Core/MemFault.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/MemFault.cpp b/Core/MemFault.cpp index c76fc7560b..db2a4d4d98 100644 --- a/Core/MemFault.cpp +++ b/Core/MemFault.cpp @@ -189,7 +189,7 @@ bool HandleFault(uintptr_t hostAddress, void *ctx) { g_lastMemoryExceptionType = type; - if (success && !isAtDispatch && (g_Config.bIgnoreBadMemAccess || g_ignoredAddresses.find(codePtr) != g_ignoredAddresses.end())) { + if (success && (g_Config.bIgnoreBadMemAccess || g_ignoredAddresses.find(codePtr) != g_ignoredAddresses.end())) { if (!info.isMemoryWrite) { // It was a read. Fill the destination register with 0. // TODO