mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 14:28:47 +00:00
Fix spectator mode crash.
This commit is contained in:
parent
1e0ef3d08d
commit
1c172d7947
@ -631,7 +631,7 @@ static uint32_t *bsv_header_generate(size_t *size, uint32_t magic)
|
||||
bsv_header[CRC_INDEX] = swap_if_big32(g_extern.cart_crc);
|
||||
bsv_header[STATE_SIZE_INDEX] = swap_if_big32(serialize_size);
|
||||
|
||||
if (serialize_size && !pretro_serialize(header + sizeof(bsv_header), serialize_size))
|
||||
if (serialize_size && !pretro_serialize(header + 4, serialize_size))
|
||||
{
|
||||
free(header);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user