From 2e5e04c5b6e248cb05df4814dbe0d7eed2fe0293 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 18 Jan 2014 21:18:04 +0100 Subject: Replaced some of the hardcoded values with constants (misc) - Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru --- src/common/grfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/grfio.c') diff --git a/src/common/grfio.c b/src/common/grfio.c index e95163569..41a888267 100644 --- a/src/common/grfio.c +++ b/src/common/grfio.c @@ -36,8 +36,8 @@ typedef struct FILELIST { } FILELIST; #define FILELIST_TYPE_FILE 0x01 // entry is a file -#define FILELIST_TYPE_ENCRYPT_HEADER 0x04 // encryption mode 1 (header DES only) #define FILELIST_TYPE_ENCRYPT_MIXED 0x02 // encryption mode 0 (header DES + periodic DES/shuffle) +#define FILELIST_TYPE_ENCRYPT_HEADER 0x04 // encryption mode 1 (header DES only) //gentry ... > 0 : data read from a grf file (gentry_table[gentry-1]) //gentry ... 0 : data read from a local file (data directory) -- cgit v1.2.3-60-g2f50