From dd6371997c5f472671109d2ba45f24fdd967a4c9 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Sat, 21 Dec 2024 01:21:45 +0000 Subject: [PATCH] fix core3 being pinned at 100% due to nxlink polling. this was caused due to https://github.com/ITotalJustice/sphaira/commit/9966e57e1222727520dc48290d49ed034d5bc1f8 --- sphaira/source/nxlink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphaira/source/nxlink.cpp b/sphaira/source/nxlink.cpp index d0f2f3c..9ca7a8a 100644 --- a/sphaira/source/nxlink.cpp +++ b/sphaira/source/nxlink.cpp @@ -224,7 +224,7 @@ void loop(void* args) { }; while (!g_quit) { - svcSleepThread(1000000); + svcSleepThread(1e+8); if (poll_network_change()) { continue; @@ -267,7 +267,7 @@ void loop(void* args) { sockaddr_in sa_remote{}; while (!g_quit) { - svcSleepThread(10000); + svcSleepThread(1e+8); if (poll_network_change()) { break;