mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-04-25 08:07:59 -05:00
Updating loaders and fixing transfer
This commit is contained in:
parent
7b6071116a
commit
948bbef979
|
|
@ -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.
Loading…
Reference in New Issue
Block a user