summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp')
-rw-r--r--Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
index 0e8e66c6b6..cacdfa7a9f 100644
--- a/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
+++ b/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
@@ -163,11 +163,19 @@ void DSPDebuggerLLE::OnShowPC(wxCommandEvent& event)
void DSPDebuggerLLE::Refresh()
{
+#ifdef __linux__
+ if (!wxIsMainThread())
+ wxMutexGuiEnter();
+#endif
UpdateSymbolMap();
UpdateDisAsmListView();
UpdateRegisterFlags();
UpdateState();
m_mgr.Update();
+#ifdef __linux__
+ if (!wxIsMainThread())
+ wxMutexGuiLeave();
+#endif
}
void DSPDebuggerLLE::FocusOnPC()