equal
deleted
inserted
replaced
179 // data files that are not scanned in normal way. |
179 // data files that are not scanned in normal way. |
180 |
180 |
181 RResourceReader theReader; |
181 RResourceReader theReader; |
182 |
182 |
183 TBool somethingToDo = EFalse; |
183 TBool somethingToDo = EFalse; |
184 if(CMseng::IsInternalDrive(aFsSession, aDrive)) |
184 if( CMseng::IsInternalDrive( aFsSession, aDrive ) |
|
185 && !CMseng::IsMassStorageDrive( aFsSession, aDrive ) ) |
185 { |
186 { |
186 theReader.OpenLC( &iResFile, C_EXTRADATAFILES ); |
187 theReader.OpenLC( &iResFile, C_EXTRADATAFILES ); |
187 somethingToDo = ETrue; |
188 somethingToDo = ETrue; |
188 } |
189 } |
189 else if(CMseng::IsRemovableDrive(aFsSession, aDrive)) |
190 else |
190 { |
191 { |
191 theReader.OpenLC( &iResFile, E_EXTRADATAFILES ); |
192 theReader.OpenLC( &iResFile, E_EXTRADATAFILES ); |
192 somethingToDo = ETrue; |
193 somethingToDo = ETrue; |
193 } |
194 } |
|
195 |
194 if(somethingToDo) |
196 if(somethingToDo) |
195 { |
197 { |
196 //the first WORD contains the number of elements in the resource |
198 //the first WORD contains the number of elements in the resource |
197 const TInt length = theReader.ReadInt16L(); |
199 const TInt length = theReader.ReadInt16L(); |
198 |
200 |