summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/NetworkWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/NetworkWidget.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
index f93b529d54..68cf9c5dbf 100644
--- a/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/NetworkWidget.cpp
@@ -241,11 +241,9 @@ void NetworkWidget::Update()
{
m_ssl_table->insertRow(ssl_id);
s32 host_fd = -1;
- if (IOS::HLE::Device::IsSSLIDValid(ssl_id) &&
- IOS::HLE::Device::NetSSL::_SSL[ssl_id].ctx.p_bio != nullptr)
+ if (IOS::HLE::Device::IsSSLIDValid(ssl_id))
{
- host_fd =
- static_cast<mbedtls_net_context*>(IOS::HLE::Device::NetSSL::_SSL[ssl_id].ctx.p_bio)->fd;
+ host_fd = IOS::HLE::Device::NetSSL::_SSL[ssl_id].hostfd;
}
m_ssl_table->setItem(ssl_id, 0, new QTableWidgetItem(QString::number(ssl_id)));
m_ssl_table->setItem(ssl_id, 1, GetSocketDomain(host_fd));