Fix out_icon_path = Common::FS::GetYuzuPath(Common::FS::YuzuPath::IconsDir);

master
Franco M 2023-11-09 04:53:10 +07:00
parent f3053920bf
commit c9038af29e
1 changed files with 1 additions and 1 deletions

@ -2980,7 +2980,7 @@ bool GMainWindow::MakeShortcutIcoPath(const u64 program_id, const std::string_vi
// Get path to Yuzu icons directory & icon extension
std::string ico_extension = "png";
#if defined(_WIN32)
out_icon_path = Common::FS::YuzuPath::IconsDir;
out_icon_path = Common::FS::GetYuzuPath(Common::FS::YuzuPath::IconsDir);
ico_extension = "ico";
#elif defined(__linux__) || defined(__FreeBSD__)
out_icon_path = Common::FS::GetDataDirectory("XDG_DATA_HOME") / "icons/hicolor/256x256";