From fc123218d3977ee9a7c41ffec7651c541304e3a6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 7 Jul 2023 21:41:49 -0500 Subject: [PATCH] Don't adjust timer period when ENet is initialized We handle this elsewhere in Moonlight and Sunshine when actually streaming --- win32.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/win32.c b/win32.c index 83c7483..800f720 100644 --- a/win32.c +++ b/win32.c @@ -50,8 +50,6 @@ enet_initialize (void) return -1; } - timeBeginPeriod (1); - QwaveLibraryHandle = LoadLibraryA("qwave.dll"); if (QwaveLibraryHandle != NULL) { pfnQOSCreateHandle = (void*)GetProcAddress(QwaveLibraryHandle, "QOSCreateHandle"); @@ -92,8 +90,6 @@ enet_deinitialize (void) QwaveLibraryHandle = NULL; } - timeEndPeriod (1); - WSACleanup (); }