Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add updated header missing from last commit

  • Loading branch information...
commit c5e23b764d82dc041f0bae57ec182c1870dabe3c 1 parent 8ba9b02
@kmdm authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 htczip.h
View
7 htczip.h
@@ -3,16 +3,15 @@
#define HTC_ZIP_HEADER_DEFAULT_CHUNKS 0x0A
#define HTC_ZIP_HEADER_DEFAULT_KEYMAP 0xA4
#define HTC_ZIP_HEADER_DEFAULT_MAINVER "0.00.0000.0"
-#define HTC_ZIP_HEADER_MAINVER_SIZE 11
+#define HTC_ZIP_HEADER_MAINVER_SIZE 20
typedef struct {
char magic[8];
unsigned short keymap_index;
unsigned char chunks;
- char padding1[9];
char mainver[HTC_ZIP_HEADER_MAINVER_SIZE];
- char padding2[1];
+ char padding1[1];
unsigned int unknown;
- char padding3[92];
+ char padding2[92];
} htc_zip_header_t;
int htc_zip_init_header(htc_zip_header_t *);
Please sign in to comment.
Something went wrong with that request. Please try again.