mirror of https://github.com/PCSX2/pcsx2.git
DEV9: Tap, remove empty blocks
This commit is contained in:
parent
b097ca9979
commit
b8406a5b95
|
@ -312,13 +312,6 @@ bool TAPAdapter::recv(NetPacket* pkt)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
result = GetOverlappedResult(htap, &read, &read_size, FALSE);
|
result = GetOverlappedResult(htap, &read, &read_size, FALSE);
|
||||||
|
|
||||||
if (!result)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -359,13 +352,6 @@ bool TAPAdapter::send(NetPacket* pkt)
|
||||||
{
|
{
|
||||||
WaitForSingleObject(write.hEvent, INFINITE);
|
WaitForSingleObject(write.hEvent, INFINITE);
|
||||||
result = GetOverlappedResult(htap, &write, &writen, FALSE);
|
result = GetOverlappedResult(htap, &write, &writen, FALSE);
|
||||||
|
|
||||||
if (!result)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue