Skip to content

Commit

Permalink
Merge pull request #2937 from Asheraf/grfio_fix
Browse files Browse the repository at this point in the history
Fix grfio on big size grfs
  • Loading branch information
MishimaHaruna authored Feb 9, 2021
2 parents 70ec7a0 + 8fbe897 commit bd12334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/grfio.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ struct grf_filelist {
int srclen; ///< compressed size
int srclen_aligned;
int declen; ///< original size
int srcpos; ///< position of entry in grf
int64 srcpos; ///< position of entry in grf
int next; ///< index of next filelist entry with same hash (-1: end of entry chain)
char type;
char fn[128-4*5]; ///< file name
char fn[256-4*5]; ///< file name
char *fnd; ///< if the file was cloned, contains name of original file
int8 gentry; ///< read grf file select
};
Expand Down

0 comments on commit bd12334

Please sign in to comment.