bba: (windows) fix games which stop and restart recving, such as logging off of PSO and loggin on again without stopping dolphin
This commit is contained in:
1 parent
6cccbb91ec
commit
bb84043de0
1 file changed
+3
-3
@@ -252,10 +252,7 @@ void CEXIETHERNET::Deactivate()
|
||||
|
||||
RecvStop();
|
||||
|
||||
CloseHandle(mHRecvEvent);
|
||||
CloseHandle(mHAdapter);
|
||||
|
||||
mHRecvEvent = INVALID_HANDLE_VALUE;
|
||||
mHAdapter = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
@@ -352,4 +349,7 @@ void CEXIETHERNET::RecvStop()
|
||||
return;
|
||||
|
||||
UnregisterWaitEx(mHReadWait, INVALID_HANDLE_VALUE);
|
||||
|
||||
CloseHandle(mHRecvEvent);
|
||||
mHRecvEvent = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
Reference in new issue
Block a user