Merge pull request #8235 from lioncash/move

Common/DebugInterface: Minor cleanup changes
This commit is contained in:
Anthony 2019-07-22 15:07:14 -07:00 committed by GitHub
commit 66e7a11139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 172 additions and 155 deletions

View file

@ -124,8 +124,8 @@ void CodeViewWidget::Update()
for (int i = 0; i < rowCount(); i++)
{
u32 addr = m_address - ((rowCount() / 2) * 4) + i * 4;
u32 color = PowerPC::debug_interface.GetColor(addr);
const u32 addr = m_address - ((rowCount() / 2) * 4) + i * 4;
const u32 color = PowerPC::debug_interface.GetColor(addr);
auto* bp_item = new QTableWidgetItem;
auto* addr_item = new QTableWidgetItem(QStringLiteral("%1").arg(addr, 8, 16, QLatin1Char('0')));