equal
deleted
inserted
replaced
567 TUint32* rompointer = NULL; |
567 TUint32* rompointer = NULL; |
568 //access using filename has the advantage of using rom address lookup cache |
568 //access using filename has the advantage of using rom address lookup cache |
569 IsFileInRom(aFileName, rompointer); |
569 IsFileInRom(aFileName, rompointer); |
570 TBool romPointerValid; |
570 TBool romPointerValid; |
571 err = DoLoadFromRom(rompointer, aId, aFileOffset, romPointerValid); |
571 err = DoLoadFromRom(rompointer, aId, aFileOffset, romPointerValid); |
572 if(romPointerValid) |
572 if(!romPointerValid) |
573 { |
|
574 FBS_OST(OstTrace1( TRACE_ERROR, CFBSBITMAP_LOAD2_ERROR2, "! this=0x%08x; romPointerValid", (TUint)this);) |
|
575 err = KErrCouldNotConnect; |
|
576 } |
|
577 else |
|
578 { |
573 { |
579 _LIT(KResourcePath, "?:\\Resource\\*"); |
574 _LIT(KResourcePath, "?:\\Resource\\*"); |
580 TInt match = aFileName.MatchF(KResourcePath); |
575 TInt match = aFileName.MatchF(KResourcePath); |
581 //if the file is in the resource directory we don't need to check capabilities and the file can just be opened on the server side. |
576 //if the file is in the resource directory we don't need to check capabilities and the file can just be opened on the server side. |
582 if (match == 0) |
577 if (match == 0) |