Skip to content

Commit 2ce1d46

Browse files
committed
enforce fps limiter
1 parent 01426e8 commit 2ce1d46

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/modules/out_5a_75e.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,10 @@ int render(void)
253253
oscore_time elapsed = now - last;
254254
if (last != 0 && elapsed < 15000)
255255
{
256-
wait_until(1337, last + 15000);
256+
while(wait_until(1337, last + 15000) >= last + 15000)
257+
{
258+
;
259+
}
257260
last += 15000;
258261
}
259262
else

0 commit comments

Comments
 (0)