mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-09-15 04:17:54 -05:00
Updating loaders and fixing transfer
This commit is contained in:
@@ -72,8 +72,6 @@ inline void acknowledgeSerialInterrupt() {
|
||||
// ---
|
||||
|
||||
bool send(u16 data, CancelCallback cancel) {
|
||||
setData(data);
|
||||
|
||||
while (!didSerialInterruptOccur()) {
|
||||
if (cancel())
|
||||
return false;
|
||||
@@ -81,6 +79,7 @@ bool send(u16 data, CancelCallback cancel) {
|
||||
acknowledgeSerialInterrupt();
|
||||
if (assignedPlayerId() != 1)
|
||||
return false;
|
||||
setData(data);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user