Skip to content

Commit

Permalink
Prevent some games (ie. DBZ SB2) from repeatedly trying to Disconnect…
Browse files Browse the repository at this point in the history
… Adhocctl when not connected to AdhocServer.
  • Loading branch information
anr2me committed Sep 28, 2021
1 parent ccc86f3 commit 1fd5415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/HLE/sceNetAdhoc.cpp
Expand Up @@ -2364,7 +2364,7 @@ u32 NetAdhocctl_Disconnect() {
int us = adhocDefaultDelay * 3;
hleEatMicro(1000);

if (isAdhocctlBusy) {
if (isAdhocctlBusy && CoreTiming::IsScheduled(adhocctlNotifyEvent)) {
return ERROR_NET_ADHOCCTL_BUSY;
}

Expand Down

0 comments on commit 1fd5415

Please sign in to comment.