summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorInusualZ <wesmoret98@gmail.com>2021-02-19 16:09:50 +0000
committerInusualZ <wesmoret98@gmail.com>2021-02-19 16:09:50 +0000
commitcaf140dea9740584b54cb1cc4d249187bf62d437 (patch)
tree746d071b036a59e96fac57e5c4d27ad298d19c46 /Source/Core
parent93f9d67d2fd8e0de89ea9c6703a53c25f213c330 (diff)
Fix issue were loaded memory breakpoints were not being triggered
This was caused, because we were saving the `break_on_hit` flag with the letter `p`. Then while loading the breakpoints, we read the flag with the letter `b`, resulting in the `break_on_hit` flag being always false
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/BreakPoints.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/BreakPoints.cpp b/Source/Core/Core/PowerPC/BreakPoints.cpp
index 9a5ac01ed8..b6fa3fc147 100644
--- a/Source/Core/Core/PowerPC/BreakPoints.cpp
+++ b/Source/Core/Core/PowerPC/BreakPoints.cpp
@@ -159,7 +159,7 @@ MemChecks::TMemChecksStr MemChecks::GetStrings() const
ss << " " << (mc.is_ranged ? mc.end_address : mc.start_address) << " "
<< (mc.is_ranged ? "n" : "") << (mc.is_break_on_read ? "r" : "")
<< (mc.is_break_on_write ? "w" : "") << (mc.log_on_hit ? "l" : "")
- << (mc.break_on_hit ? "p" : "");
+ << (mc.break_on_hit ? "b" : "");
mc_strings.push_back(ss.str());
}