summaryrefslogtreecommitdiff
path: root/Source/Core/Common/BreakPoints.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2014-10-24 22:24:17 +1100
committerskidau <skidau@gmail.com>2014-10-26 14:56:03 +1100
commitb73130af77e4a978e7837a0e40431af768d2f34c (patch)
treebad60bcb561053069388dec1f582105c3a378f47 /Source/Core/Common/BreakPoints.cpp
parentb34e220086a79a0e6f1824d2f7c94894a90d2998 (diff)
Added Load/Save function for the Watch window.
Made the floating windows toolbars dockable. Scaled down the breakpoint toolbar icons to 16x16.
Diffstat (limited to 'Source/Core/Common/BreakPoints.cpp')
-rw-r--r--Source/Core/Common/BreakPoints.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/BreakPoints.cpp b/Source/Core/Common/BreakPoints.cpp
index 8ef93758ab..e0498e34d0 100644
--- a/Source/Core/Common/BreakPoints.cpp
+++ b/Source/Core/Common/BreakPoints.cpp
@@ -234,7 +234,7 @@ Watches::TWatchesStr Watches::GetStrings() const
for (const TWatch& bp : m_Watches)
{
std::stringstream ss;
- ss << std::hex << bp.iAddress << " " << (bp.bOn ? "n" : "");
+ ss << std::hex << bp.iAddress << " " << bp.name;
bps.push_back(ss.str());
}
@@ -249,7 +249,7 @@ void Watches::AddFromStrings(const TWatchesStr& bpstrs)
std::stringstream ss;
ss << std::hex << bpstr;
ss >> bp.iAddress;
- bp.bOn = bpstr.find("n") != bpstr.npos;
+ ss >> bp.name;
Add(bp);
}
}