1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 12:42:41 +01:00

SPU: Touch unmapoed memory in reservation mismatch

This commit is contained in:
Eladash 2020-10-18 11:01:57 +03:00 committed by Ivan
parent 701f7f39d6
commit 402e8b12a6

View File

@ -2176,6 +2176,11 @@ bool spu_thread::do_putllc(const spu_mfc_cmd& args)
}
}
if (!vm::check_addr(addr, 1, vm::page_writable))
{
vm::_ref<atomic_t<u8>>(addr) += 0; // Access violate
}
raddr = 0;
return false;
}