From a909d08e6fdb23672a55d9c66bf30e57501126dc Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 30 Nov 2021 17:10:19 +0100 Subject: [PATCH] Changed a #define in device/mouse_serial.c, should make the serial mouse use the normal period on the interpreter even on builds with the new recompiler. --- src/device/mouse_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/mouse_serial.c b/src/device/mouse_serial.c index 8535e3466..32b0f6341 100644 --- a/src/device/mouse_serial.c +++ b/src/device/mouse_serial.c @@ -174,7 +174,7 @@ sermouse_callback(struct serial_s *serial, void *priv) dev->transmit_period = sermouse_transmit_period(dev, 1200, -1); timer_stop(&dev->command_timer); #ifdef USE_NEW_DYNAREC - sermouse_timer_on(dev, 5000.0, 0); + sermouse_timer_on(dev, cpu_use_dynarec ? 5000.0 : dev->transmit_period, 0); #else sermouse_timer_on(dev, dev->transmit_period, 0); #endif