mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
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
This commit is contained in:
parent
93f9d67d2f
commit
caf140dea9
@ -159,7 +159,7 @@ MemChecks::TMemChecksStr MemChecks::GetStrings() const
|
|||||||
ss << " " << (mc.is_ranged ? mc.end_address : mc.start_address) << " "
|
ss << " " << (mc.is_ranged ? mc.end_address : mc.start_address) << " "
|
||||||
<< (mc.is_ranged ? "n" : "") << (mc.is_break_on_read ? "r" : "")
|
<< (mc.is_ranged ? "n" : "") << (mc.is_break_on_read ? "r" : "")
|
||||||
<< (mc.is_break_on_write ? "w" : "") << (mc.log_on_hit ? "l" : "")
|
<< (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());
|
mc_strings.push_back(ss.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user