File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2367,7 +2367,6 @@ u32 NetAdhocctl_Disconnect() {
2367
2367
// Library initialized
2368
2368
if (netAdhocctlInited) {
2369
2369
int iResult, error;
2370
- int us = adhocDefaultDelay * 3 ;
2371
2370
hleEatMicro (1000 );
2372
2371
2373
2372
if (isAdhocctlBusy && CoreTiming::IsScheduled (adhocctlNotifyEvent)) {
@@ -2403,7 +2402,7 @@ u32 NetAdhocctl_Disconnect() {
2403
2402
}
2404
2403
else if (friendFinderRunning) {
2405
2404
AdhocctlRequest req = { OPCODE_DISCONNECT, {0 } };
2406
- WaitBlockingAdhocctlSocket (req, us , " adhocctl disconnect" );
2405
+ WaitBlockingAdhocctlSocket (req, 0 , " adhocctl disconnect" );
2407
2406
}
2408
2407
else {
2409
2408
// Set Disconnected State
@@ -5592,6 +5591,7 @@ void __NetTriggerCallbacks()
5592
5591
break ;
5593
5592
case ADHOCCTL_EVENT_DISCONNECT:
5594
5593
newState = ADHOCCTL_STATE_DISCONNECTED;
5594
+ delayus = adhocDefaultDelay; // Tekken 5 expects AdhocctlDisconnect to be done within ~17ms (a frame?)
5595
5595
break ;
5596
5596
case ADHOCCTL_EVENT_GAME:
5597
5597
{
You can’t perform that action at this time.
0 commit comments