1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Update Thread.cpp

This commit is contained in:
Elad Ashkenazi 2022-08-31 17:43:56 +03:00 committed by kd-11
parent 727b32e886
commit d8494ef1ae

View File

@ -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;