Skip to content

Commit

Permalink
Fixed work with large files (more than 1MB)
Browse files Browse the repository at this point in the history
  • Loading branch information
lab313ru authored Feb 13, 2020
1 parent 60b2a35 commit f5bc5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ typedef struct vars_s {

#define RNC_SIGN 0x524E43 // RNC
#define RNC_HEADER_SIZE 0x12
#define MAX_BUF_SIZE 0x100000
#define MAX_BUF_SIZE 0x1E00000

static const uint16 crc_table[] = {
0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241,
Expand Down

0 comments on commit f5bc5dc

Please sign in to comment.