mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	command_processor: Get rid of variable shadowing
This commit is contained in:
		
							parent
							
								
									7b2d034769
								
							
						
					
					
						commit
						4966568076
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -486,9 +486,8 @@ void ProcessCommandList(const u32* list, u32 size) { | ||||||
| 
 | 
 | ||||||
|         u32 value = *g_state.cmd_list.current_ptr++; |         u32 value = *g_state.cmd_list.current_ptr++; | ||||||
|         const CommandHeader header = { *g_state.cmd_list.current_ptr++ }; |         const CommandHeader header = { *g_state.cmd_list.current_ptr++ }; | ||||||
|         u32 cmd = header.cmd_id; |  | ||||||
| 
 | 
 | ||||||
|         WritePicaReg(cmd, value, header.parameter_mask); |         WritePicaReg(header.cmd_id, value, header.parameter_mask); | ||||||
| 
 | 
 | ||||||
|         for (unsigned i = 0; i < header.extra_data_length; ++i) { |         for (unsigned i = 0; i < header.extra_data_length; ++i) { | ||||||
|             u32 cmd = header.cmd_id + (header.group_commands ? i + 1 : 0); |             u32 cmd = header.cmd_id + (header.group_commands ? i + 1 : 0); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue