mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 04:25:19 +00:00
Qt: fix start/restart shortcut
This commit is contained in:
parent
3f5bc3464d
commit
c0366ba40c
1 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ void main_window::handle_shortcut(gui::shortcuts::shortcut shortcut_key, const Q
|
|||
Emu.Pause();
|
||||
break;
|
||||
}
|
||||
case gui::shortcuts::shortcut::mw_restart:
|
||||
case gui::shortcuts::shortcut::mw_start:
|
||||
{
|
||||
if (status == system_state::paused)
|
||||
Emu.Resume();
|
||||
|
@ -348,7 +348,7 @@ void main_window::handle_shortcut(gui::shortcuts::shortcut shortcut_key, const Q
|
|||
Emu.Run(true);
|
||||
break;
|
||||
}
|
||||
case gui::shortcuts::shortcut::mw_start:
|
||||
case gui::shortcuts::shortcut::mw_restart:
|
||||
{
|
||||
if (!Emu.GetBoot().empty())
|
||||
Emu.Restart();
|
||||
|
|
Loading…
Add table
Reference in a new issue