From 1433791eaa4508eed5e8643780cc0fc7ba61033c Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 6 Apr 2019 23:04:24 -0400 Subject: [PATCH] fflush stderr since MSVCRT's stdio doesn't support line-oriented buffering, as it should. --- src/sim65816.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sim65816.c b/src/sim65816.c index 5ef8f0e..56e2a2e 100644 --- a/src/sim65816.c +++ b/src/sim65816.c @@ -1486,6 +1486,7 @@ void run_prog() { int fast, zip_speed, faster_than_28, unl_speed; int this_type; + fflush(stderr); fflush(stdout); g_cur_sim_dtime = 0.0; @@ -1508,6 +1509,7 @@ void run_prog() { } while(1) { + fflush(stderr); fflush(stdout); // OG Disabling control panel