mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-10-26 09:11:05 -05:00
Now LinkWireless methods don't do anything when the library is disabled
This commit is contained in:
@@ -88,6 +88,8 @@
|
||||
#define LINK_WIRELESS_COMMAND_DISCONNECT 0x30
|
||||
|
||||
#define LINK_WIRELESS_RESET_IF_NEEDED \
|
||||
if (!isEnabled) \
|
||||
return false; \
|
||||
if (state == NEEDS_RESET) \
|
||||
reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user