mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-23 16:05:30 +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;
|
||||||
}
|
}
|
||||||
|
|
||||||
image.entry_point = image.base + ntHeaders->OptionalHeader.AddressOfEntryPoint;
|
|
||||||
|
|
||||||
const auto numSections = ntHeaders->FileHeader.NumberOfSections;
|
const auto numSections = ntHeaders->FileHeader.NumberOfSections;
|
||||||
const auto* sections = reinterpret_cast<const IMAGE_SECTION_HEADER*>(ntHeaders + 1);
|
const auto* sections = reinterpret_cast<const IMAGE_SECTION_HEADER*>(ntHeaders + 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user