mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	input_common/udp: Port various changes from yuzu (#5133)
This commit is contained in:
		
							parent
							
								
									026a63bcf7
								
							
						
					
					
						commit
						32cbb1bc77
					
				
					 6 changed files with 102 additions and 82 deletions
				
			
		|  | @ -30,7 +30,7 @@ public: | |||
| 
 | ||||
|     template <class Duration> | ||||
|     bool WaitFor(const std::chrono::duration<Duration>& time) { | ||||
|         std::unique_lock lk(mutex); | ||||
|         std::unique_lock lk{mutex}; | ||||
|         if (!condvar.wait_for(lk, time, [this] { return is_set; })) | ||||
|             return false; | ||||
|         is_set = false; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue