mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-04-19 19:01:17 +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 ((type & 0xFF) == 1)
|
||||
if ((type & 0xFF) == 0)
|
||||
{
|
||||
return reinterpret_cast<const T*>(&headers[i].Address);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user