From eb88c7cfba7b677eddc6c32c5d65ae14a72f2c02 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 14 Feb 2020 23:24:51 -0500 Subject: [PATCH] Allows up to half a second of hard processing. --- OSBindings/SDL/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OSBindings/SDL/main.cpp b/OSBindings/SDL/main.cpp index dda4872f5..dee03b587 100644 --- a/OSBindings/SDL/main.cpp +++ b/OSBindings/SDL/main.cpp @@ -131,8 +131,7 @@ struct MachineRunner { // now, as there's obviously been some sort of substantial time glitch. const auto time_now = Time::nanos_now(); if(time_now - last_time_ > Time::Nanos(500'000'000)) { - last_time_ = time_now; - return; + last_time_ = time_now - Time::Nanos(500'000'000); } const auto vsync_time = vsync_time_.load();