mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
Correct intersection check
This commit is contained in:
parent
f9dc36e8f3
commit
d2fc690ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -563,7 +563,7 @@ void SPUThread::do_dma_transfer(const spu_mfc_cmd& args, bool from_mfc)
|
|||
auto faddr = func.contents->addr;
|
||||
auto fsize = func.contents->size;
|
||||
|
||||
if (faddr >= eal && faddr + fsize < eal + args.size)
|
||||
if (fsize + faddr > eal && eal + args.size > faddr)
|
||||
{
|
||||
func.dirty_bit = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue