mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
Refactor network implementations to be more reusable and less buggy (#2107)
encapsulate network interfaces
This commit is contained in:
@ -305,6 +305,7 @@ u16 MP_RecvReplies(u8* data, u64 timestamp, u16 aidmask, void* userdata);
|
||||
// packet type: Ethernet (802.3)
|
||||
int Net_SendPacket(u8* data, int len, void* userdata);
|
||||
int Net_RecvPacket(u8* data, void* userdata);
|
||||
using SendPacketCallback = std::function<void(const u8* data, int len)>;
|
||||
|
||||
|
||||
// interface for camera emulation
|
||||
|
Reference in New Issue
Block a user