mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-25 21:39:52 -06:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user