summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2018-01-09 21:25:17 -0500
committerGitHub <noreply@github.com>2018-01-09 21:25:17 -0500
commit57640a4c83f0b5579b8ccefd865276f8ff8bc261 (patch)
tree3efcdb5039b6d0a1830db2f44d88c44798b89818 /Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
parent22f469697b722c90608d0e899cae87670a5d49e4 (diff)
parent5cff714b776fe1963a40b288a86dd39a07ad23a7 (diff)
Merge pull request #6293 from container1234/dolphinqt-debugger
Qt/Debugger: Add TB, XER and GQRs to Registers Window
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp')
-rw-r--r--Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp b/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
index e93f6aee9e..7b37fba0dd 100644
--- a/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
+++ b/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
@@ -96,13 +96,13 @@ 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 ?
- 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));