From d7925b3ac25fe8fa7fe6888531a6636b15765d52 Mon Sep 17 00:00:00 2001 From: SternXD Date: Sat, 6 Dec 2025 13:04:04 -0500 Subject: [PATCH] GameList: Create covers directory if missing before downloading covers --- pcsx2/GameList.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pcsx2/GameList.cpp b/pcsx2/GameList.cpp index ab3f9ffe92..df1edccf99 100644 --- a/pcsx2/GameList.cpp +++ b/pcsx2/GameList.cpp @@ -1317,6 +1317,12 @@ bool GameList::DownloadCovers(const std::vector& url_templates, boo return false; } + if (!FileSystem::CreateDirectoryPath(EmuFolders::Covers.c_str(), false)) + { + progress->DisplayError(fmt::format("Failed to create covers directory: {}", EmuFolders::Covers).c_str()); + return false; + } + std::vector> download_urls; { std::unique_lock lock(s_mutex);