diff --git a/src/86box.c b/src/86box.c index 9a252d6ad..e076c6741 100644 --- a/src/86box.c +++ b/src/86box.c @@ -937,9 +937,11 @@ pc_run(void) wchar_t temp[200]; /* Run a block of code. */ + startblit(); cpu_exec(cpu_s->rspeed / 100); mouse_process(); joystick_process(); + endblit(); /* Done with this frame, update statistics. */ framecount++; diff --git a/src/win/win.c b/src/win/win.c index 155498abb..9207faf14 100644 --- a/src/win/win.c +++ b/src/win/win.c @@ -428,6 +428,7 @@ main_thread(void *param) uint32_t old_time, new_time; int drawits, frames; + framecountx = 0; title_update = 1; old_time = GetTickCount(); drawits = frames = 0;