forked from len0rd/rockbox
store the 'add' checksum big-endian
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5658 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
950677dd1a
commit
14dd055a86
1 changed files with 1 additions and 2 deletions
|
|
@ -237,8 +237,7 @@ int main (int argc, char** argv)
|
|||
{
|
||||
case add:
|
||||
{
|
||||
unsigned long *headp = (unsigned long *)header;
|
||||
headp[0] = crc32; /* checksum */
|
||||
int2be(crc32, header); /* checksum, big-endian */
|
||||
memcpy(&header[4], irivermodel, 4); /* 4 bytes model name */
|
||||
memcpy(outbuf, inbuf, length); /* the input buffer to output*/
|
||||
headerlen = 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue