summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.h
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-01-05 14:27:27 -0500
committerGitHub <noreply@github.com>2017-01-05 14:27:27 -0500
commit495580637ffd8b847d7df43f60bf0d8ccc65b3ba (patch)
tree14b8ceb1204b4839c453a08f407b4395b70e3d51 /Source/Core/VideoCommon/CommandProcessor.h
parent9da6982ac30bec46f29530d07f86766dd44236bf (diff)
parent23d99f2f2c6f3e16dce2371141702d07bef40e95 (diff)
Merge pull request #4606 from BhaaLseN/clang-format-union
specify custom brace style to fix unions
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.h')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.h b/Source/Core/VideoCommon/CommandProcessor.h
index 9ce4169baa..579e912849 100644
--- a/Source/Core/VideoCommon/CommandProcessor.h
+++ b/Source/Core/VideoCommon/CommandProcessor.h
@@ -71,7 +71,8 @@ enum
};
// Fifo Status Register
-union UCPStatusReg {
+union UCPStatusReg
+{
struct
{
u16 OverflowHiWatermark : 1;
@@ -87,7 +88,8 @@ union UCPStatusReg {
};
// Fifo Control Register
-union UCPCtrlReg {
+union UCPCtrlReg
+{
struct
{
u16 GPReadEnable : 1;
@@ -104,7 +106,8 @@ union UCPCtrlReg {
};
// Fifo Clear Register
-union UCPClearReg {
+union UCPClearReg
+{
struct
{
u16 ClearFifoOverflow : 1;