From 727b32e88668bdc113d4e9c582dd093921e632f4 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi Date: Wed, 31 Aug 2022 17:31:29 +0300 Subject: [PATCH] RawSPU: Do not assume GPU memory fault on SPU MMIO --- Utilities/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 62a303d0d0..c16f6a5374 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 (rsx::g_access_violation_handler) + if (addr < RAW_SPU_BASE_ADDR && rsx::g_access_violation_handler) { bool state_changed = false;