diff options
author | Lioncash <mathew1800@gmail.com> | 2015-03-30 21:37:34 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-03-30 21:37:34 +0200 |
commit | e05d6220f58c96ed8da6d9e69a597808f50c2edc (patch) | |
tree | e46b6859d3c48dbc76eeb5af48ea344ec4b36fd5 /src/common/break_points.cpp | |
parent | Merge pull request #672 from purpasmart96/citra_moar_app_mem (diff) | |
download | yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.gz yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.bz2 yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.lz yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.xz yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.zst yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.zip |
Diffstat (limited to 'src/common/break_points.cpp')
-rw-r--r-- | src/common/break_points.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/break_points.cpp b/src/common/break_points.cpp index 2655d3ce9..15055bd4e 100644 --- a/src/common/break_points.cpp +++ b/src/common/break_points.cpp @@ -10,14 +10,14 @@ #include <sstream> #include <algorithm> -bool BreakPoints::IsAddressBreakPoint(u32 iAddress) +bool BreakPoints::IsAddressBreakPoint(u32 iAddress) const { auto cond = [&iAddress](const TBreakPoint& bp) { return bp.iAddress == iAddress; }; auto it = std::find_if(m_BreakPoints.begin(), m_BreakPoints.end(), cond); return it != m_BreakPoints.end(); } -bool BreakPoints::IsTempBreakPoint(u32 iAddress) +bool BreakPoints::IsTempBreakPoint(u32 iAddress) const { auto cond = [&iAddress](const TBreakPoint& bp) { return bp.iAddress == iAddress && bp.bTemporary; }; auto it = std::find_if(m_BreakPoints.begin(), m_BreakPoints.end(), cond); |