diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 54b36552d..e49de921c 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -2922,10 +2922,10 @@ bool GMainWindow::CreateShortcutLink(const std::filesystem::path& shortcut_path, | |||
| 2922 | } else { | 2922 | } else { |
| 2923 | LOG_ERROR(Frontend, "Failed to create shortcut"); | 2923 | LOG_ERROR(Frontend, "Failed to create shortcut"); |
| 2924 | } | 2924 | } |
| 2925 | shortcut_stream.close(); | ||
| 2925 | } catch (const std::exception& e) { | 2926 | } catch (const std::exception& e) { |
| 2926 | LOG_ERROR(Frontend, "Failed to create shortcut: {}", e.what()); | 2927 | LOG_ERROR(Frontend, "Failed to create shortcut: {}", e.what()); |
| 2927 | } | 2928 | } |
| 2928 | shortcut_stream.close(); | ||
| 2929 | return false; | 2929 | return false; |
| 2930 | #elif defined(_WIN32) // Windows | 2930 | #elif defined(_WIN32) // Windows |
| 2931 | HRESULT hr = CoInitialize(NULL); | 2931 | HRESULT hr = CoInitialize(NULL); |