diff --git a/src/xenia/cpu/compiler/passes/constant_propagation_pass.cc b/src/xenia/cpu/compiler/passes/constant_propagation_pass.cc index 711a09c5e..2fd78884f 100644 --- a/src/xenia/cpu/compiler/passes/constant_propagation_pass.cc +++ b/src/xenia/cpu/compiler/passes/constant_propagation_pass.cc @@ -314,7 +314,7 @@ bool ConstantPropagationPass::Run(HIRBuilder* builder) { if (use->instr->opcode == &OPCODE_DID_CARRY_info) { // Replace carry value. use->instr->Replace(&OPCODE_ASSIGN_info, 0); - use->instr->set_src1(ca); + use->instr->set_src1(builder->LoadZero(INT8_TYPE)); } } }