Socket: Fix a nullptr dereference when operations are pending

This commit is contained in:
Sepalani
2023-12-23 23:28:49 +04:00
parent 57327be7f3
commit e9fa335fbe
3 changed files with 24 additions and 16 deletions

View File

@@ -573,7 +573,7 @@ void EmulationKernel::AddStaticDevices()
if (HasFeature(features, Feature::KD) || HasFeature(features, Feature::SO) ||
HasFeature(features, Feature::SSL))
{
m_socket_manager = std::make_shared<IOS::HLE::WiiSockMan>();
m_socket_manager = std::make_shared<IOS::HLE::WiiSockMan>(*this);
}
if (HasFeature(features, Feature::KD))
{