summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger
diff options
context:
space:
mode:
authorGravatar wwylele2016-10-21 11:35:47 +0800
committerGravatar GitHub2016-10-21 11:35:47 +0800
commit8b367777319b4fc14c7a9af6b91e07702cbb8742 (patch)
treefa2cf9ff34820635fcea6a48679547f40c58bd17 /src/citra_qt/debugger
parentMerge pull request #2024 from JamePeng/update-boss-code (diff)
parentFix typos (diff)
downloadyuzu-8b367777319b4fc14c7a9af6b91e07702cbb8742.tar.gz
yuzu-8b367777319b4fc14c7a9af6b91e07702cbb8742.tar.xz
yuzu-8b367777319b4fc14c7a9af6b91e07702cbb8742.zip
Merge pull request #2131 from ricardotk/typos
Fix typos
Diffstat (limited to '')
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.cpp4
-rw-r--r--src/citra_qt/debugger/registers.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp
index 0b4320da5..96b40db1e 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp
@@ -424,7 +424,7 @@ GraphicsVertexShaderWidget::GraphicsVertexShaderWidget(
424 // Create an HBoxLayout to store the widgets used to specify a particular attribute 424 // Create an HBoxLayout to store the widgets used to specify a particular attribute
425 // and store it in a QWidget to allow for easy hiding and unhiding. 425 // and store it in a QWidget to allow for easy hiding and unhiding.
426 auto row_layout = new QHBoxLayout; 426 auto row_layout = new QHBoxLayout;
427 // Remove unecessary padding between rows 427 // Remove unnecessary padding between rows
428 row_layout->setContentsMargins(0, 0, 0, 0); 428 row_layout->setContentsMargins(0, 0, 0, 0);
429 429
430 row_layout->addWidget(new QLabel(tr("Attribute %1").arg(i, 2))); 430 row_layout->addWidget(new QLabel(tr("Attribute %1").arg(i, 2)));
@@ -590,7 +590,7 @@ void GraphicsVertexShaderWidget::OnCycleIndexChanged(int index) {
590 .arg(record.dest_out.w.ToFloat32()); 590 .arg(record.dest_out.w.ToFloat32());
591 591
592 if (record.mask & Pica::Shader::DebugDataRecord::ADDR_REG_OUT) 592 if (record.mask & Pica::Shader::DebugDataRecord::ADDR_REG_OUT)
593 text += tr("Addres Registers: %1, %2\n") 593 text += tr("Address Registers: %1, %2\n")
594 .arg(record.address_registers[0]) 594 .arg(record.address_registers[0])
595 .arg(record.address_registers[1]); 595 .arg(record.address_registers[1]);
596 if (record.mask & Pica::Shader::DebugDataRecord::CMP_RESULT) 596 if (record.mask & Pica::Shader::DebugDataRecord::CMP_RESULT)
diff --git a/src/citra_qt/debugger/registers.cpp b/src/citra_qt/debugger/registers.cpp
index 0b644432f..4c529d3c3 100644
--- a/src/citra_qt/debugger/registers.cpp
+++ b/src/citra_qt/debugger/registers.cpp
@@ -136,7 +136,7 @@ void RegistersWidget::UpdateCPSRValues() {
136 cpsr->child(2)->setText(1, QString::number((cpsr_val >> 6) & 1)); // F - FIQ disable 136 cpsr->child(2)->setText(1, QString::number((cpsr_val >> 6) & 1)); // F - FIQ disable
137 cpsr->child(3)->setText(1, QString::number((cpsr_val >> 7) & 1)); // I - IRQ disable 137 cpsr->child(3)->setText(1, QString::number((cpsr_val >> 7) & 1)); // I - IRQ disable
138 cpsr->child(4)->setText(1, QString::number((cpsr_val >> 8) & 1)); // A - Imprecise abort 138 cpsr->child(4)->setText(1, QString::number((cpsr_val >> 8) & 1)); // A - Imprecise abort
139 cpsr->child(5)->setText(1, QString::number((cpsr_val >> 9) & 1)); // E - Data endianess 139 cpsr->child(5)->setText(1, QString::number((cpsr_val >> 9) & 1)); // E - Data endianness
140 cpsr->child(6)->setText(1, 140 cpsr->child(6)->setText(1,
141 QString::number((cpsr_val >> 10) & 0x3F)); // IT - If-Then state (DNM) 141 QString::number((cpsr_val >> 10) & 0x3F)); // IT - If-Then state (DNM)
142 cpsr->child(7)->setText(1, 142 cpsr->child(7)->setText(1,