mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	CoreTiming: Reworked CoreTiming (#3119)
* CoreTiming: New CoreTiming; Add Test for CoreTiming
This commit is contained in:
		
							parent
							
								
									b7cf793814
								
							
						
					
					
						commit
						e9a95b2e7d
					
				
					 18 changed files with 678 additions and 593 deletions
				
			
		| 
						 | 
				
			
			@ -41,9 +41,9 @@ static u32 next_gyroscope_index;
 | 
			
		|||
static int enable_accelerometer_count; // positive means enabled
 | 
			
		||||
static int enable_gyroscope_count;     // positive means enabled
 | 
			
		||||
 | 
			
		||||
static int pad_update_event;
 | 
			
		||||
static int accelerometer_update_event;
 | 
			
		||||
static int gyroscope_update_event;
 | 
			
		||||
static CoreTiming::EventType* pad_update_event;
 | 
			
		||||
static CoreTiming::EventType* accelerometer_update_event;
 | 
			
		||||
static CoreTiming::EventType* gyroscope_update_event;
 | 
			
		||||
 | 
			
		||||
// Updating period for each HID device. These empirical values are measured from a 11.2 3DS.
 | 
			
		||||
constexpr u64 pad_update_ticks = BASE_CLOCK_RATE_ARM11 / 234;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue