mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-04-25 08:07:59 -05:00
More efficient pollConnections(...) in wireless multiboot async
This commit is contained in:
parent
12e41941c4
commit
b6c2d7bd1a
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user