1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-28 07:29:45 +00:00

Allows up to half a second of hard processing.

This commit is contained in:
Thomas Harte 2020-02-14 23:24:51 -05:00
parent e1892ff370
commit eb88c7cfba

View File

@ -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();