mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Generalize some __linux__ ifdefs for Unix/X11.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6793 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -156,7 +156,7 @@ void DSPDebuggerLLE::OnChangeState(wxCommandEvent& event)
|
||||
|
||||
void DSPDebuggerLLE::Refresh()
|
||||
{
|
||||
#ifdef __linux__
|
||||
#if defined HAVE_X11 && HAVE_X11
|
||||
if (!wxIsMainThread())
|
||||
wxMutexGuiEnter();
|
||||
#endif
|
||||
@ -165,7 +165,7 @@ void DSPDebuggerLLE::Refresh()
|
||||
UpdateRegisterFlags();
|
||||
UpdateState();
|
||||
m_mgr.Update();
|
||||
#ifdef __linux__
|
||||
#if defined HAVE_X11 && HAVE_X11
|
||||
if (!wxIsMainThread())
|
||||
wxMutexGuiLeave();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user