mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Fix duplicated logs on windows
This commit is contained in:
		
							parent
							
								
									1b94f25e6c
								
							
						
					
					
						commit
						98c150e7fc
					
				
					 2 changed files with 6 additions and 2 deletions
				
			
		|  | @ -34,6 +34,12 @@ void ToggleConsole() { | |||
|             freopen_s(&temp, "NUL", "w", stderr); | ||||
|         } | ||||
|     } | ||||
| #else | ||||
|     if (UISettings::values.show_console) { | ||||
|         Log::AddBackend(std::make_unique<Log::ColorConsoleBackend>()); | ||||
|     } else { | ||||
|         Log::RemoveBackend(Log::ColorConsoleBackend::Name()); | ||||
|     } | ||||
| #endif | ||||
| } | ||||
| } // namespace Debugger
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue