mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	Kernel: Remove previous scheduled event when a Timer is re-Set
This commit is contained in:
		
							parent
							
								
									8441591659
								
							
						
					
					
						commit
						ec9c773251
					
				@ -38,6 +38,9 @@ void Timer::Acquire() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Timer::Set(s64 initial, s64 interval) {
 | 
			
		||||
    // Ensure we get rid of any previous scheduled event
 | 
			
		||||
    Cancel();
 | 
			
		||||
 | 
			
		||||
    initial_delay = initial;
 | 
			
		||||
    interval_delay = interval;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user