Skip to content

Commit 4dcdf70

Browse files
committed
Call watchdog feed function during decompression if configured
1 parent 37a7cf1 commit 4dcdf70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/decompress/lzss.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ void lzss_flush()
5454
{
5555
bytes_written_fputc += write_buf_num_bytes;
5656

57+
if (wdog_feed_func)
58+
wdog_feed_func();
59+
5760
fwrite(write_buf, 1, write_buf_num_bytes, target_file);
5861

5962
write_buf_num_bytes = 0;

0 commit comments

Comments
 (0)