mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00: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:
parent
fce5f7c74e
commit
31ba2af9cb
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user