mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 02:58:54 -06:00
Fix auto window size options when not rendering to main.
Switch gtk keystate_lock back to a recursive mutex. Now that the mutex attributes are being initialized properly this doesn't seem to cause the segmentation faults anymore. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7349 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1023,7 +1023,7 @@ void CFrame::DoStop()
|
||||
{
|
||||
#if defined __WXGTK__
|
||||
wxMutexGuiLeave();
|
||||
std::lock_guard<std::mutex> lk(keystate_lock);
|
||||
std::lock_guard<std::recursive_mutex> lk(keystate_lock);
|
||||
wxMutexGuiEnter();
|
||||
#endif
|
||||
// Ask for confirmation in case the user accidentally clicked Stop / Escape
|
||||
|
Reference in New Issue
Block a user