From fb22e1fc737b18c6fd3977107181415383677fd1 Mon Sep 17 00:00:00 2001 From: linear cannon Date: Sat, 29 Jan 2022 05:30:34 -0800 Subject: [PATCH] 86box.c: pc_reset_hard_init: dont set cycles_main if DYNAREC=Off --- src/86box.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/86box.c b/src/86box.c index 4cee64445..ef06eb345 100644 --- a/src/86box.c +++ b/src/86box.c @@ -1046,8 +1046,12 @@ pc_reset_hard_init(void) atfullspeed = 0; pc_full_speed(); - cycles = cycles_main = 0; - + + cycles = 0; +#ifdef USE_DYNAREC + cycles_main = 0; +#endif + update_mouse_msg(); }