From 31ba2af9cb21af84db77920b2fa45d185bbc1319 Mon Sep 17 00:00:00 2001 From: TryTwo Date: Thu, 18 Sep 2025 17:46:02 -0700 Subject: [PATCH] Crash fix: Add check to see if debugging is enabled in Jit's IsProfilingEnabled(). Enable JIT Block Profiling = On, with Enable Debugging UI = Off, will crash dolphin when starting a game. --- Source/Core/Core/PowerPC/JitCommon/JitBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitBase.h b/Source/Core/Core/PowerPC/JitCommon/JitBase.h index 31659348ca..cb78fcc6fe 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitBase.h +++ b/Source/Core/Core/PowerPC/JitCommon/JitBase.h @@ -197,7 +197,7 @@ public: JitBase& operator=(JitBase&&) = delete; ~JitBase() override; - bool IsProfilingEnabled() const { return m_enable_profiling; } + bool IsProfilingEnabled() const { return m_enable_profiling && m_enable_debugging; } bool IsDebuggingEnabled() const { return m_enable_debugging; } static const u8* Dispatch(JitBase& jit);