mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	General: Remove usages of ARRAY_SIZE where applicable. (#5392)
Same behavior, but without our own boilerplate function.
This commit is contained in:
		
							parent
							
								
									f7aaa37bf2
								
							
						
					
					
						commit
						8ce81b19be
					
				
					 10 changed files with 35 additions and 29 deletions
				
			
		|  | @ -167,12 +167,16 @@ struct ExHeader_ARM11_SystemLocalCaps { | |||
| }; | ||||
| 
 | ||||
| struct ExHeader_ARM11_KernelCaps { | ||||
|     u32_le descriptors[28]; | ||||
|     static constexpr std::size_t NUM_DESCRIPTORS = 28; | ||||
| 
 | ||||
|     u32_le descriptors[NUM_DESCRIPTORS]; | ||||
|     u8 reserved[0x10]; | ||||
| }; | ||||
| 
 | ||||
| struct ExHeader_ARM9_AccessControl { | ||||
|     u8 descriptors[15]; | ||||
|     static constexpr std::size_t NUM_DESCRIPTORS = 15; | ||||
| 
 | ||||
|     u8 descriptors[NUM_DESCRIPTORS]; | ||||
|     u8 descversion; | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue