mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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:
parent
6cccbb91ec
commit
bb84043de0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user