mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-23 05:23:59 +00:00
Fix import thunk resolving.
This commit is contained in:
@@ -11,7 +11,7 @@ void Image::Map(const std::string_view& name, size_t base, uint32_t size, uint8_
|
||||
|
||||
const void* Image::Find(size_t address) const
|
||||
{
|
||||
const auto section = sections.find(address);
|
||||
const auto section = sections.lower_bound(address);
|
||||
if (section == sections.end())
|
||||
{
|
||||
return nullptr;
|
||||
|
Reference in New Issue
Block a user