equal
deleted
inserted
replaced
1071 { |
1071 { |
1072 // Read the remaining length or the entire cluster block whichever is smaller |
1072 // Read the remaining length or the entire cluster block whichever is smaller |
1073 TInt readLength = (TInt)Min((TInt64)(aLength-readTotal),(clusterListLen<<ClusterSizeLog2())-pos); |
1073 TInt readLength = (TInt)Min((TInt64)(aLength-readTotal),(clusterListLen<<ClusterSizeLog2())-pos); |
1074 __ASSERT_DEBUG(readLength>0,Fault(EReadFileSectionFailed)); |
1074 __ASSERT_DEBUG(readLength>0,Fault(EReadFileSectionFailed)); |
1075 TInt64 dataAddress=(FAT().DataPositionInBytes(cluster))+pos; |
1075 TInt64 dataAddress=(FAT().DataPositionInBytes(cluster))+pos; |
1076 iRawDisk->ReadL(dataAddress,readLength,aTrg,aMessage,readTotal); |
1076 iRawDisk->ReadL(dataAddress,readLength,aTrg,aMessage,readTotal, 0); |
1077 readTotal += readLength; |
1077 readTotal += readLength; |
1078 |
1078 |
1079 if (readTotal == aLength) |
1079 if (readTotal == aLength) |
1080 return; |
1080 return; |
1081 |
1081 |