mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-11-04 06:47:09 +00:00 
			
		
		
		
	XEX2 check
This commit is contained in:
		@@ -26,7 +26,7 @@ std::expected<Image, int> Image::ParseImage(const uint8_t* data, size_t 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);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user