Skip to content

Commit

Permalink
Fix netplay mode
Browse files Browse the repository at this point in the history
  • Loading branch information
trufanov-nok committed Jun 5, 2022
1 parent b816b58 commit ea2582c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,8 @@ bool retro_serialize(void *data, size_t size)

if (size <= snapshot_size)
{
// update snapshot_buffer (fuse_emulation_pause cause sound clipping at netplay)
snapshot_write("dummy.szx"); // filename is only used to get the snapshot type
memcpy(data, snapshot_buffer, snapshot_size);
res = true;
}
Expand Down

0 comments on commit ea2582c

Please sign in to comment.