forked from len0rd/rockbox
Code Police raid. Mostly changed // comments and indented to Rockbox style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e248eac20f
commit
220fafdd72
15 changed files with 1052 additions and 1006 deletions
|
@ -362,13 +362,13 @@ tCheckResult CheckFirmwareFile(char* filename, int chipsize, bool is_romless)
|
|||
}
|
||||
|
||||
if (fileleft == 256*1024)
|
||||
{ // original dumped firmware file has no CRC nor platform ID
|
||||
{ /* original dumped firmware file has no CRC nor platform ID */
|
||||
has_crc = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
has_crc = true;
|
||||
fileleft -= sizeof(unsigned); // exclude the last 4 bytes
|
||||
fileleft -= sizeof(unsigned); /* exclude the last 4 bytes */
|
||||
}
|
||||
|
||||
/* do some sanity checks */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue