mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Savestates: Fix restart when suspend mode is off
Add a new menu button for explicit exit (mostly for debug purposes)
This commit is contained in:
parent
01ee119c59
commit
f19744ae88
4 changed files with 34 additions and 4 deletions
|
|
@ -383,6 +383,14 @@ void gs_frame::handle_shortcut(gui::shortcuts::shortcut shortcut_key, const QKey
|
|||
{
|
||||
if (!m_disable_kb_hotkeys)
|
||||
{
|
||||
if (!g_cfg.savestate.suspend_emu)
|
||||
{
|
||||
Emu.after_kill_callback = []()
|
||||
{
|
||||
Emu.Restart();
|
||||
};
|
||||
}
|
||||
|
||||
Emu.Kill(false, true);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue