From caf140dea9740584b54cb1cc4d249187bf62d437 Mon Sep 17 00:00:00 2001 From: InusualZ Date: Fri, 19 Feb 2021 16:09:50 +0000 Subject: [PATCH] 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 --- Source/Core/Core/PowerPC/BreakPoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }