mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Fix access violation handler
This commit is contained in:
parent
05442bdb11
commit
174f11bdbd
1 changed files with 1 additions and 1 deletions
|
@ -1248,7 +1248,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vm::check_addr(addr, std::max<std::size_t>(1, d_size)))
|
if (vm::check_addr(addr, std::max<std::size_t>(1, d_size), vm::page_allocated | (is_writing ? vm::page_writable : vm::page_readable)))
|
||||||
{
|
{
|
||||||
if (cpu)
|
if (cpu)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue