mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
Arisotura you're fucking stupid
This commit is contained in:
@ -381,7 +381,7 @@ void StartMirror(const Player* player)
|
|||||||
addr.host = player->Address;
|
addr.host = player->Address;
|
||||||
addr.port = 8064+1 + player->ID; // FIXME!!!!!!!!!!
|
addr.port = 8064+1 + player->ID; // FIXME!!!!!!!!!!
|
||||||
printf("mirror client connecting to %08X:%d\n", addr.host, addr.port);
|
printf("mirror client connecting to %08X:%d\n", addr.host, addr.port);
|
||||||
ENetPeer* peer = enet_host_connect(MirrorHost, &addr, 1, 0);
|
ENetPeer* peer = enet_host_connect(MirrorHost, &addr, 2, 0);
|
||||||
if (!peer)
|
if (!peer)
|
||||||
{
|
{
|
||||||
printf("connect shat itself :(\n");
|
printf("connect shat itself :(\n");
|
||||||
@ -995,7 +995,7 @@ void ProcessMirrorClient()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ENET_EVENT_TYPE_RECEIVE:printf("RX %d %d\n", event.channelID, event.packet->dataLength);
|
case ENET_EVENT_TYPE_RECEIVE:
|
||||||
if (event.channelID == 0)
|
if (event.channelID == 0)
|
||||||
{
|
{
|
||||||
if (event.packet->dataLength != sizeof(InputFrame)) break;
|
if (event.packet->dataLength != sizeof(InputFrame)) break;
|
||||||
|
Reference in New Issue
Block a user