From 9eaa53bce2400cc438b78871fd8a143f235174cf Mon Sep 17 00:00:00 2001 From: KOLANICH Date: Mon, 19 Dec 2022 20:38:04 +0300 Subject: pklib: Replace magic nums that I have forgotten to replace. --- src/pklib/pklib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pklib/pklib.h') diff --git a/src/pklib/pklib.h b/src/pklib/pklib.h index c951d11..10d3e1d 100644 --- a/src/pklib/pklib.h +++ b/src/pklib/pklib.h @@ -116,7 +116,7 @@ typedef struct unsigned int (*read_buf)(char *buf, unsigned int *size, void *param); // Pointer to function that reads data from the input stream void (*write_buf)(char *buf, unsigned int *size, void *param);// Pointer to function that writes data to the output stream - unsigned char out_buff[0x2204]; // 0030: Output circle buffer. + unsigned char out_buff[BUFF_SIZE]; // 0030: Output circle buffer. // 0x0000 - 0x0FFF: Previous uncompressed data, kept for repetitions // 0x1000 - 0x1FFF: Currently decompressed data // 0x2000 - 0x2203: Reserve space for the longest possible repetition -- cgit v1.2.3