From 1401fbc71a98e0ccda19d92575f051e3a53bf795 Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Sat, 14 Apr 2018 17:05:23 -0400 Subject: [PATCH] Qt/Debugger: correctly set the MBP attributes when adding Not setting the end address causes the GetMecheck function to never think a matching address MBP exists. --- Source/Core/DolphinQt2/Debugger/BreakpointWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt2/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt2/Debugger/BreakpointWidget.cpp index 093b3767fb..6ad3b97477 100644 --- a/Source/Core/DolphinQt2/Debugger/BreakpointWidget.cpp +++ b/Source/Core/DolphinQt2/Debugger/BreakpointWidget.cpp @@ -274,6 +274,8 @@ void BreakpointWidget::AddAddressMBP(u32 addr, bool on_read, bool on_write, bool TMemCheck check; check.start_address = addr; + check.end_address = addr; + check.is_ranged = false; check.is_break_on_read = on_read; check.is_break_on_write = on_write; check.log_on_hit = do_log;