summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leolino.lam@gmail.com>2018-04-14 23:22:57 +0200
committerGitHub <noreply@github.com>2018-04-14 23:22:57 +0200
commitc73b05e200719059e9fc059bd4c94ca394773d94 (patch)
treedf8a03fd572329b76965e84c66d5b2c9d176bf3f /Source/Core
parentee955e37a98dc20b96c9ed948dc6af96e85fdb51 (diff)
parent1401fbc71a98e0ccda19d92575f051e3a53bf795 (diff)
Merge pull request #6647 from aldelaro5/qt-fix-mbp
Qt/Debugger: correctly set the MBP attributes when adding an address one
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/Debugger/BreakpointWidget.cpp2
1 files changed, 2 insertions, 0 deletions
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;