mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	dyncom: Clarify precedence for ternary statements
This commit is contained in:
		
							parent
							
								
									004b23153b
								
							
						
					
					
						commit
						8c6edc680c
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -4177,7 +4177,7 @@ unsigned InterpreterMainLoop(ARMul_State* state) { | |||
|                 cpu->Reg[14] = (cpu->Reg[15] + GET_INST_SIZE(cpu)); | ||||
|                 cpu->TFlag = 0x1; | ||||
|                 int signed_int = inst_cream->val.signed_immed_24; | ||||
|                 signed_int = (signed_int) & 0x800000 ? (0x3F000000 | signed_int) : signed_int; | ||||
|                 signed_int = (signed_int & 0x800000) ? (0x3F000000 | signed_int) : signed_int; | ||||
|                 signed_int = signed_int << 2; | ||||
|                 cpu->Reg[15] = cpu->Reg[15] + 8 + signed_int + (BIT(inst, 24) << 1); | ||||
|             } | ||||
|  |  | |||
|  | @ -1400,7 +1400,7 @@ u32 vfp_double_cpdo(ARMul_State* state, u32 inst, u32 fpscr) | |||
|         u32 except; | ||||
|         char type; | ||||
| 
 | ||||
|         type = fop->flags & OP_SD ? 's' : 'd'; | ||||
|         type = (fop->flags & OP_SD) ? 's' : 'd'; | ||||
|         if (op == FOP_EXT) | ||||
|             pr_debug("VFP: itr%d (%c%u) = op[%u] (d%u)\n", | ||||
|                      vecitr >> FPSCR_LENGTH_BIT, | ||||
|  |  | |||
|  | @ -1290,7 +1290,7 @@ u32 vfp_single_cpdo(ARMul_State* state, u32 inst, u32 fpscr) | |||
|         u32 except; | ||||
|         char type; | ||||
| 
 | ||||
|         type = fop->flags & OP_DD ? 'd' : 's'; | ||||
|         type = (fop->flags & OP_DD) ? 'd' : 's'; | ||||
|         if (op == FOP_EXT) | ||||
|             pr_debug("VFP: itr%d (%c%u) = op[%u] (s%u=%08x)\n", | ||||
|                      vecitr >> FPSCR_LENGTH_BIT, type, dest, sn, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue