summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-02-09 18:29:13 -0500
committerLioncash <mathew1800@gmail.com>2014-02-09 19:40:11 -0500
commitebb48d019eec1c29a37a406e2db16d7565367faa (patch)
tree254aa42356ced8de7c87d9da181cff4475c12ba4 /Source/Core/Common
parent40182a48a56b8e294e126c64f5f37910a40c67cd (diff)
Clean up some struct indentations
Also cleaned up the indentations of some variable declarations.
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/BreakPoints.h22
-rw-r--r--Source/Core/Common/CommonFuncs.h2
-rw-r--r--Source/Core/Common/FileUtil.h6
-rw-r--r--Source/Core/Common/MathUtil.h4
4 files changed, 17 insertions, 17 deletions
diff --git a/Source/Core/Common/BreakPoints.h b/Source/Core/Common/BreakPoints.h
index a17cce5341..e9ac0b1667 100644
--- a/Source/Core/Common/BreakPoints.h
+++ b/Source/Core/Common/BreakPoints.h
@@ -14,9 +14,9 @@ class DebugInterface;
struct TBreakPoint
{
- u32 iAddress;
- bool bOn;
- bool bTemporary;
+ u32 iAddress;
+ bool bOn;
+ bool bTemporary;
};
struct TMemCheck
@@ -29,18 +29,18 @@ struct TMemCheck
u32 StartAddress;
u32 EndAddress;
- bool bRange;
+ bool bRange;
- bool OnRead;
- bool OnWrite;
+ bool OnRead;
+ bool OnWrite;
- bool Log;
- bool Break;
+ bool Log;
+ bool Break;
- u32 numHits;
+ u32 numHits;
void Action(DebugInterface *dbg_interface, u32 _iValue, u32 addr,
- bool write, int size, u32 pc);
+ bool write, int size, u32 pc);
};
// Code breakpoints.
@@ -71,7 +71,7 @@ public:
private:
TBreakPoints m_BreakPoints;
- u32 m_iBreakOnCount;
+ u32 m_iBreakOnCount;
};
diff --git a/Source/Core/Common/CommonFuncs.h b/Source/Core/Common/CommonFuncs.h
index 63bdc04dfb..1b385859d5 100644
--- a/Source/Core/Common/CommonFuncs.h
+++ b/Source/Core/Common/CommonFuncs.h
@@ -29,7 +29,7 @@ struct ArraySizeImpl : public std::extent<T>
#define b8(x) ( b4(x) | ( b4(x) >> 4) )
#define b16(x) ( b8(x) | ( b8(x) >> 8) )
#define b32(x) (b16(x) | (b16(x) >>16) )
-#define ROUND_UP_POW2(x) (b32(x - 1) + 1)
+#define ROUND_UP_POW2(x) (b32(x - 1) + 1)
#ifndef __GNUC_PREREQ
#define __GNUC_PREREQ(a, b) 0
diff --git a/Source/Core/Common/FileUtil.h b/Source/Core/Common/FileUtil.h
index 91de214a38..4fee364a2e 100644
--- a/Source/Core/Common/FileUtil.h
+++ b/Source/Core/Common/FileUtil.h
@@ -59,9 +59,9 @@ namespace File
struct FSTEntry
{
bool isDirectory;
- u64 size; // file length or number of entries from children
- std::string physicalName; // name on disk
- std::string virtualName; // name in FST names table
+ u64 size; // File length or number of entries from children
+ std::string physicalName; // Name on disk
+ std::string virtualName; // Name in FST names table
std::vector<FSTEntry> children;
};
diff --git a/Source/Core/Common/MathUtil.h b/Source/Core/Common/MathUtil.h
index 599701ca16..3e7b198c49 100644
--- a/Source/Core/Common/MathUtil.h
+++ b/Source/Core/Common/MathUtil.h
@@ -148,8 +148,8 @@ inline double pow2(double x) {return x * x;}
float MathFloatVectorSum(const std::vector<float>&);
-#define ROUND_UP(x, a) (((x) + (a) - 1) & ~((a) - 1))
-#define ROUND_DOWN(x, a) ((x) & ~((a) - 1))
+#define ROUND_UP(x, a) (((x) + (a) - 1) & ~((a) - 1))
+#define ROUND_DOWN(x, a) ((x) & ~((a) - 1))
// Rounds down. 0 -> undefined
inline u64 Log2(u64 val)