mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Netplay: fixes
This commit is contained in:
parent
a1b4cced5b
commit
badfbe0ccd
@ -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