mirror of https://github.com/axmolengine/axmol.git
fixed #701, CCZHeader.version should be an unsigned short, instead of unsigned char. Keep the same to cocos2d-iphone
This commit is contained in:
parent
9f1e26f8a0
commit
554e3fda52
|
@ -32,7 +32,7 @@ namespace cocos2d
|
|||
struct CCZHeader {
|
||||
unsigned char sig[4]; // signature. Should be 'CCZ!' 4 bytes
|
||||
unsigned short compression_type; // should 0
|
||||
unsigned char version; // should be 2 (although version type==1 is also supported)
|
||||
unsigned short version; // should be 2 (although version type==1 is also supported)
|
||||
unsigned int reserved; // Reserverd for users.
|
||||
unsigned int len; // size of the uncompressed file
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue