From a60ea6129199de76f30b947a4684e60cc17387f4 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 10 Dec 2022 17:23:06 +0100 Subject: [PATCH] linux: fix shortcut cli args --- rpcs3/rpcs3qt/game_list_frame.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/rpcs3qt/game_list_frame.cpp b/rpcs3/rpcs3qt/game_list_frame.cpp index 9a0c112d9b..7c98b394b6 100644 --- a/rpcs3/rpcs3qt/game_list_frame.cpp +++ b/rpcs3/rpcs3qt/game_list_frame.cpp @@ -935,7 +935,11 @@ void game_list_frame::CreateShortcuts(const game_info& gameinfo, std::vectorinfo.serial; } +#ifdef __linux__ + const std::string target_cli_args = fmt::format("--no-gui \"%%%%RPCS3_GAMEID%%%%:%s\"", gameid_token_value); +#else const std::string target_cli_args = fmt::format("--no-gui \"%%RPCS3_GAMEID%%:%s\"", gameid_token_value); +#endif const std::string target_icon_dir = fmt::format("%sIcons/game_icons/%s/", fs::get_config_dir(), gameinfo->info.serial); if (!fs::create_path(target_icon_dir))