From e706cf0d5413c31b7e80a50411cc88cc7c71af30 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Fri, 25 Jan 2019 20:43:53 +0300 Subject: [PATCH] [GPU] Fix addsc/mulsc/subsc r# addressing mode not initialized --- src/xenia/gpu/shader_translator.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/gpu/shader_translator.cc b/src/xenia/gpu/shader_translator.cc index 8150431a9..fc06fc0de 100644 --- a/src/xenia/gpu/shader_translator.cc +++ b/src/xenia/gpu/shader_translator.cc @@ -1100,6 +1100,7 @@ void ParseAluInstructionOperandSpecial(const AluInstruction& op, out_op->storage_source = storage_source; if (storage_source == InstructionStorageSource::kRegister) { out_op->storage_index = reg & 0x7F; + out_op->storage_addressing_mode = InstructionStorageAddressingMode::kStatic; } else { out_op->storage_index = reg; if ((const_slot == 0 && op.is_const_0_addressed()) ||