mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
Savestates: Make Ctrl+R work when not ingame
Restore old behavior of Ctrl+R making it restart emulation when stoppped.
This commit is contained in:
parent
9b5cc7cda7
commit
f34773ed73
2 changed files with 18 additions and 8 deletions
|
@ -279,6 +279,12 @@ void gs_frame::keyPressEvent(QKeyEvent *keyEvent)
|
|||
case Qt::Key_R:
|
||||
if (keyEvent->modifiers() == Qt::ControlModifier && !m_disable_kb_hotkeys)
|
||||
{
|
||||
if (Emu.IsStopped())
|
||||
{
|
||||
Emu.Restart();
|
||||
return;
|
||||
}
|
||||
|
||||
extern bool boot_last_savestate();
|
||||
boot_last_savestate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue