diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2018-01-09 21:25:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-09 21:25:17 -0500 |
| commit | 57640a4c83f0b5579b8ccefd865276f8ff8bc261 (patch) | |
| tree | 3efcdb5039b6d0a1830db2f44d88c44798b89818 /Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp | |
| parent | 22f469697b722c90608d0e899cae87670a5d49e4 (diff) | |
| parent | 5cff714b776fe1963a40b288a86dd39a07ad23a7 (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.cpp | 14 |
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)); |
