git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1136
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
// Use Signature to figure out if we understand the image format\r
//\r
//\r
// Use Signature to figure out if we understand the image format\r
//\r
- if (Hdr.Pe32->Signature == EFI_TE_IMAGE_HEADER_SIGNATURE) {\r
+ if (Hdr.Te->Signature == EFI_TE_IMAGE_HEADER_SIGNATURE) {\r
ImageContext->IsTeImage = TRUE;\r
ImageContext->Machine = Hdr.Te->Machine;\r
ImageContext->ImageType = (UINT16)(Hdr.Te->Subsystem);\r
ImageContext->IsTeImage = TRUE;\r
ImageContext->Machine = Hdr.Te->Machine;\r
ImageContext->ImageType = (UINT16)(Hdr.Te->Subsystem);\r