mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
LLVM: block borders fixed
This commit is contained in:
parent
af53ce6f76
commit
d0afef47f8
2 changed files with 43 additions and 49 deletions
|
@ -983,7 +983,7 @@ std::vector<ppu_function> ppu_analyse(const std::vector<std::pair<u32, u32>>& se
|
|||
const auto next = func.blocks.upper_bound(block.first);
|
||||
|
||||
// Normalize block if necessary
|
||||
if (next != func.blocks.end())
|
||||
if (next != func.blocks.end() && block.second > next->first - block.first)
|
||||
{
|
||||
block.second = next->first - block.first;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue