mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Update Thread.cpp
This commit is contained in:
parent
727b32e886
commit
d8494ef1ae
@ -1240,7 +1240,7 @@ bool handle_access_violation(u32 addr, bool is_writing, ucontext_t* context) noe
|
||||
|
||||
const auto cpu = get_current_cpu_thread();
|
||||
|
||||
if (addr < RAW_SPU_BASE_ADDR && rsx::g_access_violation_handler)
|
||||
if (vm::check_addr(addr) && addr < RAW_SPU_BASE_ADDR && rsx::g_access_violation_handler)
|
||||
{
|
||||
bool state_changed = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user