mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix Stuck issue on some games (Dissidia 012, Full Auto 2, etc) when Failed to connect to Adhoc Server (faked success)
This commit is contained in:
parent
19313aaabb
commit
23efd22efb
1 changed files with 3 additions and 2 deletions
|
@ -300,15 +300,16 @@ static void __AdhocctlNotify(u64 userdata, int cyclesLate) {
|
|||
CoreTiming::ScheduleEvent(usToCycles(500) - cyclesLate, adhocctlNotifyEvent, userdata);
|
||||
return;
|
||||
}
|
||||
else
|
||||
else if (req.opcode != OPCODE_LOGIN)
|
||||
result = ERROR_NET_ADHOCCTL_BUSY;
|
||||
}
|
||||
}
|
||||
else
|
||||
result = ERROR_NET_ADHOCCTL_WLAN_SWITCH_OFF;
|
||||
|
||||
u32 waitVal = __KernelGetWaitValue(threadID, error);
|
||||
__KernelResumeThreadFromWait(threadID, result);
|
||||
DEBUG_LOG(SCENET, "Returning (WaitID: %d, error: %d) Result (%08x) of sceNetAdhocctl - State: %d", waitID, error, (int)result, adhocctlState);
|
||||
DEBUG_LOG(SCENET, "Returning (WaitID: %d, error: %d) Result (%08x) of sceNetAdhocctl - Opcode: %d, State: %d", waitID, error, (int)result, waitVal, adhocctlState);
|
||||
|
||||
// We are done with this request
|
||||
adhocctlRequests.erase(uid);
|
||||
|
|
Loading…
Add table
Reference in a new issue