mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 18:31:03 +00:00
XEX2 check
This commit is contained in:
parent
13ec7258e1
commit
3d6a3c61a6
@ -26,7 +26,7 @@ std::expected<Image, int> Image::ParseImage(const uint8_t* data, size_t size)
|
|||||||
{
|
{
|
||||||
return ElfLoadImage(data, size);
|
return ElfLoadImage(data, size);
|
||||||
}
|
}
|
||||||
else if (data[0] == 'X' && data[1] == 'E' && data[0] == 'X' && data[0] == '2')
|
else if (data[0] == 'X' && data[1] == 'E' && data[2] == 'X' && data[3] == '2')
|
||||||
{
|
{
|
||||||
return Xex2LoadImage(data);
|
return Xex2LoadImage(data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user