mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix Common::Barrier and fix the deadlock by making Common::Event check to see if an event has already been set or not.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7305 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -665,7 +665,7 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
|
||||
break;
|
||||
case IDM_KEYSTATE:
|
||||
bKeyStateResult = wxGetKeyState(wxKeyCode(event.GetInt()));
|
||||
keystate_event.Wait();
|
||||
keystate_event.Set();
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user