fflush stderr since MSVCRT's stdio doesn't support line-oriented buffering, as it should.

This commit is contained in:
Kelvin Sherlock 2019-04-06 23:04:24 -04:00
parent e91201cff4
commit 2d97efcaff

View File

@ -1386,6 +1386,7 @@ int run_prog() {
int fast, zip_speed, faster_than_28, unl_speed; int fast, zip_speed, faster_than_28, unl_speed;
int this_type; int this_type;
fflush(stderr);
fflush(stdout); fflush(stdout);
g_cur_sim_dtime = 0.0; g_cur_sim_dtime = 0.0;
@ -1408,6 +1409,7 @@ int run_prog() {
} }
while(1) { while(1) {
fflush(stderr);
fflush(stdout); fflush(stdout);
// OG Disabling control panel // OG Disabling control panel