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:
sktsqrl 2012-07-04 16:17:47 -07:00
parent 6cccbb91ec
commit bb84043de0
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}