From d5bf11703d133bcc590bc7fbe55269eadda9b446 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 12 Jan 2026 01:32:27 +0100 Subject: [PATCH] Qt: Restart game even if there's no savestate when using the restart shortcut --- rpcs3/rpcs3qt/gs_frame.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rpcs3/rpcs3qt/gs_frame.cpp b/rpcs3/rpcs3qt/gs_frame.cpp index 483f5affdc..db66ce68a4 100644 --- a/rpcs3/rpcs3qt/gs_frame.cpp +++ b/rpcs3/rpcs3qt/gs_frame.cpp @@ -339,6 +339,14 @@ void gs_frame::handle_shortcut(gui::shortcuts::shortcut shortcut_key, const QKey default: break; // unreachable } + if (shortcut_key == gui::shortcuts::shortcut::gw_restart && !boot_current_game_savestate(true, index)) + { + // Normal restart if there is no savestate + Emu.Restart(); + break; + } + + // Reboot with savestate boot_current_game_savestate(false, index); break; }