diff options
| author | aldelaro5 <aldelaro5@gmail.com> | 2016-09-23 21:15:35 -0400 |
|---|---|---|
| committer | aldelaro5 <aldelaro5@gmail.com> | 2016-09-27 01:22:23 -0400 |
| commit | 5e8fc4ebd989b9e59cd670a071fd8a2e2f3d6ba6 (patch) | |
| tree | a032fdb057830898681017b60ea43bdb8af658a2 /Source | |
| parent | efb7b1cecae4d865666125f8beb587df7f9369f2 (diff) | |
Add consideration for the break flag of memChecks
It was never used, even when the code tried to make sure it was initialised and passed correctly. This is a supplementary fix for the memCheck dialog as this option will now work correctly.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/BreakPoints.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/BreakPoints.cpp b/Source/Core/Common/BreakPoints.cpp index e9c8c481cc..a4e5fa64fe 100644 --- a/Source/Core/Common/BreakPoints.cpp +++ b/Source/Core/Common/BreakPoints.cpp @@ -218,8 +218,8 @@ bool TMemCheck::Action(DebugInterface* debug_interface, u32 iValue, u32 addr, bo debug_interface->GetDescription(pc).c_str(), write ? "Write" : "Read", size * 8, size * 2, iValue, addr, debug_interface->GetDescription(addr).c_str()); } - - return true; + if (Break) + return true; } return false; } |
