mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Merge pull request #11737 from SimpleTease/netplay_1
Netplay: connection fixes
This commit is contained in:
commit
4297fea46e
@ -872,7 +872,7 @@ static bool netplay_handshake_pre_info(netplay_t *netplay,
|
||||
return true;
|
||||
}
|
||||
|
||||
RECV(&info_buf.core_name, cmd_size)
|
||||
RECV(&info_buf.content_crc, cmd_size)
|
||||
{
|
||||
RARCH_ERR("Failed to receive netplay info payload.\n");
|
||||
return false;
|
||||
|
@ -280,11 +280,13 @@ typedef struct netplay_input_state
|
||||
/* How many words of input data do we have? */
|
||||
uint32_t size;
|
||||
|
||||
/* Is this a buffer with real data? */
|
||||
bool used;
|
||||
|
||||
/* The input data itself (note: should expand beyond 1 by overallocating). */
|
||||
uint32_t data[1];
|
||||
|
||||
/* Is this a buffer with real data? */
|
||||
bool used;
|
||||
/* Warning: No members allowed past this point, due to dynamic resizing. */
|
||||
} *netplay_input_state_t;
|
||||
|
||||
struct delta_frame
|
||||
|
Loading…
x
Reference in New Issue
Block a user