summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-04-12 14:18:04 +0200
committerspycrab <spycrab@users.noreply.github.com>2018-04-12 21:28:39 +0200
commit40bb9974f21878e64fb03d70e717cb996bf13a29 (patch)
tree1d8a9e7eea10820e5d645ad5028e506836b856de /Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
parentd27e85e9d70dfb41a5b8880fd3375a0ac9574f5d (diff)
Reformat all the things!
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp')
-rw-r--r--Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp b/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
index 9f7af78ef5..2acacd2602 100644
--- a/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
+++ b/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
@@ -98,13 +98,14 @@ void RegisterColumn::Update()
switch (m_display)
{
case RegisterDisplay::Hex:
- text = QStringLiteral("%1").arg(
- m_value, (m_type == RegisterType::ibat || m_type == RegisterType::dbat ||
- m_type == RegisterType::fpr || m_type == RegisterType::tb ?
- sizeof(u64) :
- sizeof(u32)) *
- 2,
- 16, QLatin1Char('0'));
+ text = QStringLiteral("%1").arg(m_value,
+ (m_type == RegisterType::ibat || m_type == RegisterType::dbat ||
+ m_type == RegisterType::fpr ||
+ m_type == RegisterType::tb ?
+ sizeof(u64) :
+ sizeof(u32)) *
+ 2,
+ 16, QLatin1Char('0'));
break;
case RegisterDisplay::SInt32:
text = QString::number(static_cast<qint32>(m_value));