fix core3 being pinned at 100% due to nxlink polling.
this was caused due to https://github.com/ITotalJustice/sphaira/commit/9966e57e1222727520dc48290d49ed034d5bc1f8
This commit is contained in:
1 parent
c8c4a273c9
commit
dd6371997c
1 file changed
+2
-2
@@ -224,7 +224,7 @@ void loop(void* args) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
while (!g_quit) {
|
while (!g_quit) {
|
||||||
svcSleepThread(1000000);
|
svcSleepThread(1e+8);
|
||||||
|
|
||||||
if (poll_network_change()) {
|
if (poll_network_change()) {
|
||||||
continue;
|
continue;
|
||||||
@@ -267,7 +267,7 @@ void loop(void* args) {
|
|||||||
sockaddr_in sa_remote{};
|
sockaddr_in sa_remote{};
|
||||||
|
|
||||||
while (!g_quit) {
|
while (!g_quit) {
|
||||||
svcSleepThread(10000);
|
svcSleepThread(1e+8);
|
||||||
|
|
||||||
if (poll_network_change()) {
|
if (poll_network_change()) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user