Properly initialized framecountx and re-added the startblit() / endblit() to the CPU thread, fixes renderer switches.

This commit is contained in:
OBattler
2021-03-30 03:49:46 +02:00
parent 345a61fa7c
commit 56d62de4fe
2 changed files with 3 additions and 0 deletions

View File

@@ -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++;