mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12: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;
|
raddr = 0;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue