mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 18:31:03 +00:00
oop
This commit is contained in:
parent
a3126d6beb
commit
c167e5c90c
@ -165,7 +165,7 @@ Function Function::Analyze(const void* code, size_t size, size_t base)
|
|||||||
for (const auto& block : blocks)
|
for (const auto& block : blocks)
|
||||||
{
|
{
|
||||||
// pick the block furthest away
|
// 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;
|
return fn;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user