#Fix for XenonAnalyse reading wrongly the base address in certain games

This commit is contained in:
ENEMY345 2025-03-31 01:20:23 -06:00
parent 2fd3f57fc9
commit 90d07551b4

View File

@ -210,8 +210,6 @@ Image Xex2LoadImage(const uint8_t* data, size_t dataSize)
image.entry_point = image.base + ntHeaders->OptionalHeader.AddressOfEntryPoint;
}
image.entry_point = image.base + ntHeaders->OptionalHeader.AddressOfEntryPoint;
const auto numSections = ntHeaders->FileHeader.NumberOfSections;
const auto* sections = reinterpret_cast<const IMAGE_SECTION_HEADER*>(ntHeaders + 1);