mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 10:30:00 +00:00
engine: disable stdout output and flush on Windows, Wcon already does the job
This commit is contained in:
parent
2388260848
commit
2218126c75
@ -261,8 +261,9 @@ static void Sys_PrintStdout( const char *logtime, const char *msg )
|
||||
void IOS_Log( const char * );
|
||||
IOS_Log( buf );
|
||||
#endif // TARGET_OS_IOS
|
||||
#else // XASH_MOBILE_PLATFORM
|
||||
#elif !XASH_WIN32 // Wcon does the job
|
||||
Sys_PrintLogfile( STDOUT_FILENO, logtime, msg, XASH_COLORIZE_CONSOLE );
|
||||
Sys_FlushStdout();
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -281,7 +282,6 @@ void Sys_PrintLog( const char *pMsg )
|
||||
|
||||
// spew to stdout
|
||||
Sys_PrintStdout( logtime, pMsg );
|
||||
Sys_FlushStdout();
|
||||
|
||||
if( !s_ld.logfile )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user