mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Fix crash when stopping a game that does not use the BBA
This commit is contained in:
parent
14959a1087
commit
d6b2fe2c0a
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ bool CEXIETHERNET::XLinkNetworkInterface::Activate()
|
||||||
|
|
||||||
void CEXIETHERNET::XLinkNetworkInterface::Deactivate()
|
void CEXIETHERNET::XLinkNetworkInterface::Deactivate()
|
||||||
{
|
{
|
||||||
|
// Is the BBA Active? If not skip shutdown
|
||||||
|
if (!IsActivated())
|
||||||
|
return;
|
||||||
|
|
||||||
// Send d; to tell XLink we want to disconnect cleanly
|
// Send d; to tell XLink we want to disconnect cleanly
|
||||||
// disconnect;optional_locally_unique_name;optional_padding
|
// disconnect;optional_locally_unique_name;optional_padding
|
||||||
std::string cmd =
|
std::string cmd =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue