mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 22:42:47 +00:00
Undo unrelated true false ternary statement removal
This commit is contained in:
parent
38e2b6c8d8
commit
301ca0a0a3
|
@ -595,9 +595,11 @@ void GraphicsVertexShaderWidget::OnCycleIndexChanged(int index) {
|
||||||
.arg(record.conditional_code[1] ? "true" : "false");
|
.arg(record.conditional_code[1] ? "true" : "false");
|
||||||
|
|
||||||
if (record.mask & Pica::Shader::DebugDataRecord::COND_BOOL_IN)
|
if (record.mask & Pica::Shader::DebugDataRecord::COND_BOOL_IN)
|
||||||
text += tr("Static Condition: %1\n").arg(record.cond_bool);
|
text += tr("Static Condition: %1\n").arg(record.cond_bool ? "true" : "false");
|
||||||
if (record.mask & Pica::Shader::DebugDataRecord::COND_CMP_IN)
|
if (record.mask & Pica::Shader::DebugDataRecord::COND_CMP_IN)
|
||||||
text += tr("Dynamic Conditions: %1, %2\n").arg(record.cond_cmp[0]).arg(record.cond_cmp[1]);
|
text += tr("Dynamic Conditions: %1, %2\n")
|
||||||
|
.arg(record.cond_cmp[0] ? "true" : "false")
|
||||||
|
.arg(record.cond_cmp[1] ? "true" : "false");
|
||||||
if (record.mask & Pica::Shader::DebugDataRecord::LOOP_INT_IN)
|
if (record.mask & Pica::Shader::DebugDataRecord::LOOP_INT_IN)
|
||||||
text += tr("Loop Parameters: %1 (repeats), %2 (initializer), %3 (increment), %4\n")
|
text += tr("Loop Parameters: %1 (repeats), %2 (initializer), %3 (increment), %4\n")
|
||||||
.arg(record.loop_int.x)
|
.arg(record.loop_int.x)
|
||||||
|
|
Loading…
Reference in a new issue