mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-04-26 02:02:25 -05:00
Also checking EREADER_SIO_END
This commit is contained in:
parent
25831307a4
commit
5e212a0a81
|
|
@ -344,7 +344,7 @@ class LinkCard {
|
|||
received = transferMulti(value, cancel);
|
||||
if (cancel())
|
||||
return -1;
|
||||
if (received == EREADER_CANCEL)
|
||||
if (received == EREADER_CANCEL || received == EREADER_SIO_END)
|
||||
return -2;
|
||||
} while (received != expected1 && received != expected2);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user