Flush logfile when writing hunk log

This commit is contained in:
Tim Angus 2025-10-26 09:51:17 +00:00
parent 0ebf1df742
commit f4ec9be44d

View File

@ -1485,6 +1485,7 @@ void Hunk_Log( void) {
FS_Write(buf, strlen(buf), logfile);
Com_sprintf(buf, sizeof(buf), "%d hunk blocks\r\n", numBlocks);
FS_Write(buf, strlen(buf), logfile);
FS_Flush(logfile);
}
/*
@ -1535,6 +1536,7 @@ void Hunk_SmallLog( void) {
FS_Write(buf, strlen(buf), logfile);
Com_sprintf(buf, sizeof(buf), "%d hunk blocks\r\n", numBlocks);
FS_Write(buf, strlen(buf), logfile);
FS_Flush(logfile);
}
/*