summaryrefslogtreecommitdiffstats
path: root/src/common/break_points.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 02:38:01 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-18 02:38:01 +0200
commitdc8479928c5aee4c6ad6fe4f59006fb604cee701 (patch)
tree569a7f13128450bbab973236615587ff00bced5f /src/common/break_points.h
parentTravis: Import Dolphin’s clang-format hook. (diff)
downloadyuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.gz
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.bz2
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.lz
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.xz
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.zst
yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.zip
Diffstat (limited to '')
-rw-r--r--src/common/break_points.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/common/break_points.h b/src/common/break_points.h
index b0629df37..1a5b7d296 100644
--- a/src/common/break_points.h
+++ b/src/common/break_points.h
@@ -4,28 +4,28 @@
#pragma once
-#include <vector>
#include <string>
+#include <vector>
#include "common/common_types.h"
class DebugInterface;
-struct TBreakPoint
-{
- u32 iAddress;
+struct TBreakPoint {
+ u32 iAddress;
bool bOn;
bool bTemporary;
};
// Code breakpoints.
-class BreakPoints
-{
+class BreakPoints {
public:
typedef std::vector<TBreakPoint> TBreakPoints;
typedef std::vector<std::string> TBreakPointsStr;
- const TBreakPoints& GetBreakPoints() { return m_BreakPoints; }
+ const TBreakPoints& GetBreakPoints() {
+ return m_BreakPoints;
+ }
TBreakPointsStr GetStrings() const;
void AddFromStrings(const TBreakPointsStr& bps);
@@ -35,7 +35,7 @@ public:
bool IsTempBreakPoint(u32 iAddress) const;
// Add BreakPoint
- void Add(u32 em_address, bool temp=false);
+ void Add(u32 em_address, bool temp = false);
void Add(const TBreakPoint& bp);
// Remove Breakpoint
@@ -46,5 +46,5 @@ public:
private:
TBreakPoints m_BreakPoints;
- u32 m_iBreakOnCount;
+ u32 m_iBreakOnCount;
};