Skip to content

Commit

Permalink
Merge pull request #18435 from anr2me/adhocctl
Browse files Browse the repository at this point in the history
An attempt to fix Tekken 6 stuck issue when exiting Lobby
  • Loading branch information
hrydgard committed Nov 20, 2023
2 parents ecab503 + c6628ee commit 3d508ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/HLE/sceNetAdhoc.cpp
Expand Up @@ -2472,7 +2472,8 @@ u32 NetAdhocctl_Disconnect() {
// Library initialized
if (netAdhocctlInited) {
int iResult, error;
hleEatMicro(1000);
// We might need to have at least 16ms (1 frame?) delay before the game calls the next Adhocctl syscall for Tekken 6 not to stuck when exiting Lobby
hleEatMicro(16667);

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

0 comments on commit 3d508ef

Please sign in to comment.