mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
ENetUtil: Check return values of ENet functions in SendPacket().
This commit is contained in:
parent
66684a392f
commit
bfbc04ef5e
2 changed files with 17 additions and 3 deletions
|
@ -13,5 +13,5 @@ namespace ENetUtil
|
|||
{
|
||||
void WakeupThread(ENetHost* host);
|
||||
int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event);
|
||||
void SendPacket(ENetPeer* socket, const sf::Packet& packet, u8 channel_id);
|
||||
bool SendPacket(ENetPeer* socket, const sf::Packet& packet, u8 channel_id);
|
||||
} // namespace ENetUtil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue