mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
fix stupid crash
This commit is contained in:
@ -825,6 +825,8 @@ void SetMPRecvTimeout(int timeout)
|
||||
|
||||
void MPBegin()
|
||||
{
|
||||
if (!Host) return;
|
||||
|
||||
ConnectedBitmask |= (1<<MyPlayer.ID);
|
||||
LastHostID = -1;
|
||||
LastHostPeer = nullptr;
|
||||
@ -836,6 +838,8 @@ void MPBegin()
|
||||
|
||||
void MPEnd()
|
||||
{
|
||||
if (!Host) return;
|
||||
|
||||
ConnectedBitmask &= ~(1<<MyPlayer.ID);
|
||||
|
||||
u8 cmd[2] = {0x05, (u8)MyPlayer.ID};
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "LAN_Socket.h"
|
||||
#include "LAN_PCap.h"
|
||||
#include "IPC.h"
|
||||
#include "IPC.h"
|
||||
#include "LAN.h"
|
||||
#include "OSD.h"
|
||||
|
||||
|
Reference in New Issue
Block a user