mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 21:50:37 +00:00
winedump: Fix MZ Header detection.
This commit is contained in:
parent
ba3f6be371
commit
13b0452c45
@ -1461,10 +1461,10 @@ enum FileSig get_kind_exec(void)
|
||||
if (*pdw == IMAGE_NT_SIGNATURE) return SIG_PE;
|
||||
if (*(const WORD *)pdw == IMAGE_OS2_SIGNATURE) return SIG_NE;
|
||||
if (*(const WORD *)pdw == IMAGE_VXD_SIGNATURE) return SIG_LE;
|
||||
return SIG_DOS;
|
||||
}
|
||||
return SIG_DOS;
|
||||
}
|
||||
return 0;
|
||||
return SIG_UNKNOWN;
|
||||
}
|
||||
|
||||
void pe_dump(void)
|
||||
|
Loading…
Reference in New Issue
Block a user