mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
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:
parent
e253d3d919
commit
1401fbc71a
@ -274,6 +274,8 @@ void BreakpointWidget::AddAddressMBP(u32 addr, bool on_read, bool on_write, bool
|
|||||||
TMemCheck check;
|
TMemCheck check;
|
||||||
|
|
||||||
check.start_address = addr;
|
check.start_address = addr;
|
||||||
|
check.end_address = addr;
|
||||||
|
check.is_ranged = false;
|
||||||
check.is_break_on_read = on_read;
|
check.is_break_on_read = on_read;
|
||||||
check.is_break_on_write = on_write;
|
check.is_break_on_write = on_write;
|
||||||
check.log_on_hit = do_log;
|
check.log_on_hit = do_log;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user