mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Qt: disable vsh removal options if vsh is running
This commit is contained in:
parent
453bb43629
commit
bdeeae47a2
1 changed files with 1 additions and 1 deletions
|
@ -1031,7 +1031,7 @@ void game_list_frame::ShowContextMenu(const QPoint &pos)
|
||||||
|
|
||||||
static const auto is_game_running = [](const std::string& serial)
|
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);
|
const bool is_current_running_game = is_game_running(current_game.serial);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue