mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-04-19 19:01:17 +00:00
#Fix for XenonAnalyse reading wrongly the base address in certain games
This commit is contained in:
parent
2fd3f57fc9
commit
90d07551b4
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user