mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Port yuzu-emu/yuzu#4587 and yuzu-emu/yuzu#4588: Fix data races (#5545)
Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc>
This commit is contained in:
		
							parent
							
								
									df9e230d63
								
							
						
					
					
						commit
						017631e51b
					
				
					 2 changed files with 6 additions and 5 deletions
				
			
		
							
								
								
									
										2
									
								
								externals/microprofile/microprofile.h
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								externals/microprofile/microprofile.h
									
										
									
									
										vendored
									
									
								
							|  | @ -1018,7 +1018,7 @@ static void MicroProfileCreateThreadLogKey() | |||
| #else | ||||
| MP_THREAD_LOCAL MicroProfileThreadLog* g_MicroProfileThreadLog = 0; | ||||
| #endif | ||||
| static bool g_bUseLock = false; /// This is used because windows does not support using mutexes under dll init(which is where global initialization is handled)
 | ||||
| static std::atomic<bool> g_bUseLock{false}; /// This is used because windows does not support using mutexes under dll init(which is where global initialization is handled)
 | ||||
| 
 | ||||
| 
 | ||||
| MICROPROFILE_DEFINE(g_MicroProfileFlip, "MicroProfile", "MicroProfileFlip", 0x3355ee); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue