From ea2582c738d21dc100090f02c73a9d6098e4c931 Mon Sep 17 00:00:00 2001 From: Alexander Trufanov Date: Mon, 25 Apr 2022 16:14:00 +0300 Subject: [PATCH] Fix netplay mode --- src/libretro.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libretro.c b/src/libretro.c index 4409490..272c7d9 100644 --- a/src/libretro.c +++ b/src/libretro.c @@ -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; }