mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-05-16 11:15:49 +00:00
Fix xex header parser
This commit is contained in:
parent
3a8c9941f7
commit
ae0fb21f08
@ -144,7 +144,7 @@ inline static const T* Xex2FindOptionalHeader(const void* base, const XEX_OPTION
|
|||||||
{
|
{
|
||||||
if (headers[i].Type == (uint32_t)type)
|
if (headers[i].Type == (uint32_t)type)
|
||||||
{
|
{
|
||||||
if ((type & 0xFF) == 1)
|
if ((type & 0xFF) == 0)
|
||||||
{
|
{
|
||||||
return reinterpret_cast<const T*>(&headers[i].Address);
|
return reinterpret_cast<const T*>(&headers[i].Address);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user