mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
SPU: Touch unmapoed memory in reservation mismatch
This commit is contained in:
parent
701f7f39d6
commit
402e8b12a6
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue