From 70ca03e8103bfcfe3fa96758a276517e040876f6 Mon Sep 17 00:00:00 2001 From: boludoz Date: Thu, 5 Oct 2023 19:44:58 -0300 Subject: [PATCH] Bugfix icons --- src/yuzu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index ef72471fa8..de1706f1db 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2958,7 +2958,7 @@ bool GMainWindow::SaveShortcutLink(const std::filesystem::path& shortcut_path, c if (!wcomment.empty()) pShellLink->SetDescription(wcomment.c_str()); - if (!std::filesystem::exists(icon_path) && std::filesystem::is_regular_file(icon_path)) + if (std::filesystem::exists(icon_path) && std::filesystem::is_regular_file(icon_path)) pShellLink->SetIconLocation(Common::FS::ToWString(icon_path.u8string()).c_str(), 0); hres = pShellLink->QueryInterface(IID_IPersistFile, (void**)&pPersistFile);