mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-10-30 07:11:38 +00:00 
			
		
		
		
	PPC context header adjustments. (#123)
This commit is contained in:
		
							parent
							
								
									82b4cd3bb7
								
							
						
					
					
						commit
						c017eb630a
					
				
					 1 changed files with 23 additions and 29 deletions
				
			
		|  | @ -123,9 +123,7 @@ struct PPCFuncMapping | ||||||
| 
 | 
 | ||||||
| extern PPCFuncMapping PPCFuncMappings[]; | extern PPCFuncMapping PPCFuncMappings[]; | ||||||
| 
 | 
 | ||||||
| struct PPCRegister | union PPCRegister | ||||||
| { |  | ||||||
|     union |  | ||||||
| { | { | ||||||
|     int8_t s8; |     int8_t s8; | ||||||
|     uint8_t u8; |     uint8_t u8; | ||||||
|  | @ -138,7 +136,6 @@ struct PPCRegister | ||||||
|     float f32; |     float f32; | ||||||
|     double f64; |     double f64; | ||||||
| }; | }; | ||||||
| }; |  | ||||||
| 
 | 
 | ||||||
| struct PPCXERRegister | struct PPCXERRegister | ||||||
| { | { | ||||||
|  | @ -194,9 +191,7 @@ struct PPCCRRegister | ||||||
|     } |     } | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| struct alignas(0x10) PPCVRegister | union alignas(0x10) PPCVRegister | ||||||
| { |  | ||||||
|     union |  | ||||||
| { | { | ||||||
|     int8_t s8[16]; |     int8_t s8[16]; | ||||||
|     uint8_t u8[16]; |     uint8_t u8[16]; | ||||||
|  | @ -209,7 +204,6 @@ struct alignas(0x10) PPCVRegister | ||||||
|     float f32[4]; |     float f32[4]; | ||||||
|     double f64[2]; |     double f64[2]; | ||||||
| }; | }; | ||||||
| }; |  | ||||||
| 
 | 
 | ||||||
| #define PPC_ROUND_NEAREST 0x00 | #define PPC_ROUND_NEAREST 0x00 | ||||||
| #define PPC_ROUND_TOWARD_ZERO 0x01 | #define PPC_ROUND_TOWARD_ZERO 0x01 | ||||||
|  | @ -270,7 +264,7 @@ struct PPCFPSCRRegister | ||||||
|     } |     } | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| struct PPCContext | struct alignas(0x40) PPCContext | ||||||
| { | { | ||||||
|     PPCRegister r3; |     PPCRegister r3; | ||||||
| #ifndef PPC_CONFIG_NON_ARGUMENT_AS_LOCAL | #ifndef PPC_CONFIG_NON_ARGUMENT_AS_LOCAL | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Skyth (Asilkan)
						Skyth (Asilkan)