mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #2108 from FernandoS27/fix-cc
Fix incorrect value for CC bit in IADD
This commit is contained in:
		
						commit
						444231a83d
					
				@ -41,7 +41,7 @@ u32 ShaderIR::DecodeArithmeticInteger(NodeBlock& bb, u32 pc) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        const Node value = Operation(OperationCode::IAdd, PRECISE, op_a, op_b);
 | 
					        const Node value = Operation(OperationCode::IAdd, PRECISE, op_a, op_b);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        SetInternalFlagsFromInteger(bb, value, instr.op_32.generates_cc);
 | 
					        SetInternalFlagsFromInteger(bb, value, instr.generates_cc);
 | 
				
			||||||
        SetRegister(bb, instr.gpr0, value);
 | 
					        SetRegister(bb, instr.gpr0, value);
 | 
				
			||||||
        break;
 | 
					        break;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user