mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-12-24 00:42:22 +00:00
oop
This commit is contained in:
parent
a3126d6beb
commit
c167e5c90c
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ Function Function::Analyze(const void* code, size_t size, size_t base)
|
|||
for (const auto& block : blocks)
|
||||
{
|
||||
// pick the block furthest away
|
||||
fn.size = std::max(size, block.base + block.size);
|
||||
fn.size = std::max(fn.size, block.base + block.size);
|
||||
}
|
||||
return fn;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue