mirror of
				https://github.com/yuzu-emu/yuzu.git
				synced 2025-11-04 12:33:43 +00:00 
			
		
		
		
	CoreTiming: Initialize static variables at bootup.
This commit is contained in:
		
							parent
							
								
									d3c2f9a4a4
								
							
						
					
					
						commit
						5a855bdb2f
					
				@ -160,6 +160,16 @@ void Init() {
 | 
			
		||||
    last_global_time_us = 0;
 | 
			
		||||
    has_ts_events = 0;
 | 
			
		||||
    mhz_change_callbacks.clear();
 | 
			
		||||
 | 
			
		||||
    first = nullptr;
 | 
			
		||||
    ts_first = nullptr;
 | 
			
		||||
    ts_last = nullptr;
 | 
			
		||||
 | 
			
		||||
    event_pool = nullptr;
 | 
			
		||||
    event_ts_pool = nullptr;
 | 
			
		||||
    allocated_ts_events = 0;
 | 
			
		||||
 | 
			
		||||
    advance_callback = nullptr;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Shutdown() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user