mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-21 05:51:39 +00:00
hot-fix: address check in mips overlap heuristic
This commit is contained in:
parent
7bf5324cea
commit
883c2ecdec
|
@ -329,6 +329,11 @@ bool ImageInfo::IsMipOf(const ImageInfo& info) const {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Ensure that address matches too.
|
||||
if ((info.guest_address + info.mips_layout[mip].offset) != guest_address) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue