mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-02 15:02:11 +00:00
Qt: disable vsh removal options if vsh is running
This commit is contained in:
parent
453bb43629
commit
bdeeae47a2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user