From 5e8fc4ebd989b9e59cd670a071fd8a2e2f3d6ba6 Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Fri, 23 Sep 2016 21:15:35 -0400 Subject: [PATCH] Add consideration for the break flag of memChecks It was never used, even when the code tried to make sure it was initialised and passed correctly. This is a supplementary fix for the memCheck dialog as this option will now work correctly. --- Source/Core/Common/BreakPoints.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Common/BreakPoints.cpp b/Source/Core/Common/BreakPoints.cpp index e9c8c481cc..a4e5fa64fe 100644 --- a/Source/Core/Common/BreakPoints.cpp +++ b/Source/Core/Common/BreakPoints.cpp @@ -218,8 +218,8 @@ bool TMemCheck::Action(DebugInterface* debug_interface, u32 iValue, u32 addr, bo debug_interface->GetDescription(pc).c_str(), write ? "Write" : "Read", size * 8, size * 2, iValue, addr, debug_interface->GetDescription(addr).c_str()); } - - return true; + if (Break) + return true; } return false; }