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.
This commit is contained in:
aldelaro5 2018-04-14 17:05:23 -04:00
parent e253d3d919
commit 1401fbc71a
No known key found for this signature in database
GPG Key ID: 054DD3E6FF48DB71
1 changed files with 2 additions and 0 deletions

View File

@ -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;