diff options
author | Kirk <kklobe@gmail.com> | 2022-06-21 04:25:01 +0300 |
---|---|---|
committer | Kirk <kklobe@gmail.com> | 2022-06-21 04:25:01 +0300 |
commit | 68bb6659f666b69657a1b333a20d2db4fc0dd832 (patch) | |
tree | 7d88fa59236a6e5218f2d338600043250168f3d3 | |
parent | a3227725b10a638c33acd7e9890c4ce63668c233 (diff) |
Reduce increaseticks sleep timekk/increaseticks-sleep-1
-rw-r--r-- | src/dosbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dosbox.cpp b/src/dosbox.cpp index 9ff75b8aa..5516860bb 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -185,7 +185,7 @@ void increaseticks() { //Make it return ticksRemain and set it in the function a if (ticksNew <= ticksLast) { //lower should not be possible, only equal. ticksAdded = 0; - constexpr auto duration = std::chrono::milliseconds(1); + constexpr auto duration = std::chrono::microseconds(100); std::this_thread::sleep_for(duration); const auto timeslept = GetTicksSince(ticksNew); |