Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk <kklobe@gmail.com>2022-06-21 04:25:01 +0300
committerKirk <kklobe@gmail.com>2022-06-21 04:25:01 +0300
commit68bb6659f666b69657a1b333a20d2db4fc0dd832 (patch)
tree7d88fa59236a6e5218f2d338600043250168f3d3
parenta3227725b10a638c33acd7e9890c4ce63668c233 (diff)
Reduce increaseticks sleep timekk/increaseticks-sleep-1
-rw-r--r--src/dosbox.cpp2
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);