mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-31 01:25:18 +01:00
Correct intersection check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user