mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
PPU Analyser: fix constraints for all elfs.
Added for main executable and OVLs. Forgot to use it not just for SPRX.
This commit is contained in:
parent
390b192f0a
commit
58eef983e2
3 changed files with 46 additions and 6 deletions
|
@ -534,7 +534,7 @@ void ppu_module::analyse(u32 lib_toc, u32 entry, u32 end)
|
|||
// Assume first segment is executable
|
||||
const u32 start = segs[0].addr;
|
||||
|
||||
if (end == umax)
|
||||
if (!end)
|
||||
{
|
||||
end = segs[0].addr + segs[0].size;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue