Add 10ms interval option (not exposed yet to UI)

Fix percentage counter
This commit is contained in:
Cacodemon345
2025-07-09 12:59:16 +06:00
parent b45d796218
commit 916533499a
5 changed files with 21 additions and 13 deletions

View File

@@ -739,7 +739,7 @@ exec386_dynarec(int32_t cycs)
uint64_t oldtsc;
uint64_t delta;
int32_t cyc_period = cycs / 200; /*5us*/
int32_t cyc_period = cycs / (force_10ms ? 2000 : 200); /*5us*/
# ifdef USE_ACYCS
acycs = 0;