From b7599c0f3098e577405d7e8e49b878e2107e9be2 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi Date: Wed, 31 Aug 2022 20:56:23 +0300 Subject: [PATCH] Update Thread.cpp --- Utilities/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 592c6f0021..508de190a7 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -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 (vm::check_addr(addr) && addr < RAW_SPU_BASE_ADDR && rsx::g_access_violation_handler) + if (addr < RAW_SPU_BASE_ADDR && vm::check_addr(addr) && rsx::g_access_violation_handler) { bool state_changed = false;