mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
maybe actually starting the mirror clients would yield better results, Arisotura
This commit is contained in:
@ -676,6 +676,14 @@ void SyncMirrorClients()
|
|||||||
printf("!!! BAD!! %d %d\n", ngood, NumPlayers);
|
printf("!!! BAD!! %d %d\n", ngood, NumPlayers);
|
||||||
|
|
||||||
printf("[MIRROR HOST] clients synced\n");
|
printf("[MIRROR HOST] clients synced\n");
|
||||||
|
|
||||||
|
// start
|
||||||
|
|
||||||
|
data[0] = 0x05;
|
||||||
|
pkt = enet_packet_create(&data, 1, ENET_PACKET_FLAG_RELIABLE);
|
||||||
|
enet_host_broadcast(MirrorHost, 1, pkt);
|
||||||
|
|
||||||
|
StartLocal();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StartGame()
|
void StartGame()
|
||||||
@ -938,7 +946,7 @@ void ProcessMirrorHost()
|
|||||||
{
|
{
|
||||||
// all mirror clients are connected, we're ready to go
|
// all mirror clients are connected, we're ready to go
|
||||||
SyncMirrorClients();
|
SyncMirrorClients();
|
||||||
StartLocal();
|
//StartLocal();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user