VERY experimental Nintendo Switch 2 emulator
C++
shader/decode/other: Correct branch indirect argument within BRA handling
Lioncash778d8fedfaea
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cppindex 42e3de02fc..c0f64d7a0a 100644--- a/src/video_core/shader/decode/other.cpp+++ b/src/video_core/shader/decode/other.cpp@@ -102,7 +102,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {PRECISE, op_a, Immediate(3));const Node operand =Operation(OperationCode::IAdd, PRECISE, convert, Immediate(target));- branch = Operation(OperationCode::BranchIndirect, convert);+ branch = Operation(OperationCode::BranchIndirect, operand);}const Tegra::Shader::ConditionCode cc = instr.flow_condition_code;