From bdeeae47a243397a17f383b62de432d884b002b4 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 29 Apr 2024 21:59:22 +0200 Subject: [PATCH] Qt: disable vsh removal options if vsh is running --- rpcs3/rpcs3qt/game_list_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 5bb1ec25c3..e47fdbe0b1 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -1031,7 +1031,7 @@ void game_list_frame::ShowContextMenu(const QPoint &pos) static const auto is_game_running = [](const std::string& serial) { - return Emu.GetStatus(false) != system_state::stopped && serial == Emu.GetTitleID(); + return Emu.GetStatus(false) != system_state::stopped && (serial == Emu.GetTitleID() || (serial == "vsh.self" && Emu.IsVsh())); }; const bool is_current_running_game = is_game_running(current_game.serial);