forked from len0rd/rockbox
slight change in the bad CRC returned, to make rundb code handle it better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7463 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f79ada83b1
commit
ff7f4e8942
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,8 @@ sub crc32 {
|
|||
my $len = 32*1024;
|
||||
|
||||
if(!$crc) {
|
||||
return 1; # fixed bad CRC when disabled!
|
||||
return 0; # fixed bad CRC when disabled!
|
||||
# better to set to 0 cause the rundb code will handle it better that way.
|
||||
}
|
||||
|
||||
if(!open(FILE, "<$filename")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue