mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Make the Escape key pause the emulator in linux when not in fullscreen.
I believe this is the same as in windows? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5078 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -655,6 +655,9 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
|
||||
case WM_USER_STOP:
|
||||
main_frame->DoStop();
|
||||
break;
|
||||
case WM_USER_PAUSE:
|
||||
main_frame->OnPlay(event);
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -537,8 +537,9 @@ void Host_Message(int Id)
|
||||
switch(Id)
|
||||
{
|
||||
case WM_USER_STOP:
|
||||
case WM_USER_PAUSE:
|
||||
{
|
||||
wxCommandEvent event(wxEVT_HOST_COMMAND, WM_USER_STOP);
|
||||
wxCommandEvent event(wxEVT_HOST_COMMAND, Id);
|
||||
main_frame->GetEventHandler()->AddPendingEvent(event);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user