summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/MemoryView.cpp
diff options
context:
space:
mode:
authoraldelaro5 <aldelaro5@gmail.com>2017-03-02 20:07:24 -0500
committeraldelaro5 <aldelaro5@gmail.com>2017-03-18 22:48:57 -0400
commit8bf27cf42fd83918c6a730ffddbc12a0204213dc (patch)
tree3cc57ab249084123820b2ea399f6490e3974a7d6 /Source/Core/DolphinWX/Debugger/MemoryView.cpp
parentb83929477fdb890e289a199f47df686a638b81a5 (diff)
Fix memory breakpoint when checking the middle of the data
If the delimiters of a memory aren't exactly the same as an address, but their size includes the memory breakpoint delimiter, the break will not go through. This makes it so that you can specify a search for a memory breakpoint with a data size and will check if the data fits with that size on all memory breakpoints so the breaks go through.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/MemoryView.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/MemoryView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/MemoryView.cpp b/Source/Core/DolphinWX/Debugger/MemoryView.cpp
index 5265058562..80c4efa5d7 100644
--- a/Source/Core/DolphinWX/Debugger/MemoryView.cpp
+++ b/Source/Core/DolphinWX/Debugger/MemoryView.cpp
@@ -418,7 +418,7 @@ void CMemoryView::OnPaint(wxPaintEvent& event)
draw_text(StrToWxStr(desc), 2);
// Show blue memory check dot
- if (debugger->IsMemCheck(address))
+ if (debugger->IsMemCheck(address, sizeof(u8)))
{
dc.SetPen(*wxTRANSPARENT_PEN);
dc.SetBrush(mc_brush);