mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-10-01 21:36:53 -05:00
More efficient pollConnections(...) in wireless multiboot async
This commit is contained in:
@@ -952,7 +952,7 @@ class LinkWirelessMultiboot {
|
||||
dynamicData.wait++;
|
||||
if (dynamicData.wait >= 2) {
|
||||
state = LISTENING;
|
||||
pollConnections();
|
||||
startOrKeepListening();
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -999,7 +999,8 @@ class LinkWirelessMultiboot {
|
||||
state = HANDSHAKING_CLIENT_STEP1;
|
||||
startHandshakeWith(lastClientNumber);
|
||||
} else {
|
||||
pollConnections();
|
||||
state = STARTING;
|
||||
dynamicData.wait = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user