From f4326efbddcbc48e9e4c18bd1dbd32f1a10a4589 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 9 Feb 2026 19:39:29 +0100 Subject: [PATCH] move gamepad led ticker after render logic this does not really matter but save a tiny little amount of time before rendering a frame --- src/d_main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index 17e705582..156fcb5ee 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -910,11 +910,6 @@ void D_SRB2Loop(void) R_UpdateViewInterpolation(); } } - - if (!dedicated) - { - G_DeviceLEDTick(); - } } if (!dedicated && R_UsingFrameInterpolation()) @@ -952,7 +947,12 @@ void D_SRB2Loop(void) M_SaveFrame(); if (takescreenshot) M_DoScreenShot(); - +#ifndef DEDICATED + if (!dedicated && renderisnewtic) + { + G_DeviceLEDTick(); + } +#endif // consoleplayer -> displayplayers (hear sounds from viewpoint) if (renderisnewtic) S_UpdateSounds(); // move positional sounds