mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Fix connected check
This commit is contained in:
parent
8228e59423
commit
23a253dbb5
@ -127,7 +127,7 @@ static int sceNetAdhocPdpSend(int id, const char* mac, u32 port, void* data, int
|
||||
static int sceNetAdhocPdpRecv(int id, void* addr, void* port, void* buf, void* dataLength, u32 timeout, int flag);
|
||||
|
||||
bool __NetAdhocConnected() {
|
||||
return netAdhocInited && netAdhocctlInited && adhocctlState == ADHOCCTL_STATE_CONNECTED;
|
||||
return netAdhocInited && netAdhocctlInited && (adhocctlState == ADHOCCTL_STATE_CONNECTED || adhocctlState == ADHOCCTL_STATE_GAMEMODE);
|
||||
}
|
||||
|
||||
void __NetAdhocShutdown() {
|
||||
|
Loading…
Reference in New Issue
Block a user