diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 9bfea13957..4b65a32777 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -1735,6 +1735,7 @@ void main_window::EnableMenus(bool enabled) const ui->toolsRsxDebuggerAct->setEnabled(enabled); ui->toolsStringSearchAct->setEnabled(enabled); ui->actionCreate_RSX_Capture->setEnabled(enabled); + ui->actionCreate_Savestate->setEnabled(enabled); } void main_window::OnEnableDiscEject(bool enabled) const @@ -2023,6 +2024,12 @@ void main_window::CreateConnects() g_user_asked_for_frame_capture = true; }); + connect(ui->actionCreate_Savestate, &QAction::triggered, this, []() + { + gui_log.notice("User triggered savestate creation from utilities."); + Emu.Kill(false, true); + }); + connect(ui->bootSavestateAct, &QAction::triggered, this, &main_window::BootSavestate); connect(ui->addGamesAct, &QAction::triggered, this, [this]() diff --git a/rpcs3/rpcs3qt/main_window.ui b/rpcs3/rpcs3qt/main_window.ui index 598e9398a3..e816fd934f 100644 --- a/rpcs3/rpcs3qt/main_window.ui +++ b/rpcs3/rpcs3qt/main_window.ui @@ -1145,6 +1145,14 @@ Create RSX Capture + + + false + + + Create Savestate + + Game Patches