From 9e7d48cf85c9307265106bc4cb15f59342631f1f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 30 Aug 2023 02:02:48 +1000 Subject: [PATCH] Settings: Ensure Reshade directory gets created --- src/core/settings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 2fdaec5ef..10a548bdb 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -1469,6 +1469,9 @@ bool EmuFolders::EnsureFoldersExist() result = FileSystem::EnsureDirectoryExists(SaveStates.c_str(), false) && result; result = FileSystem::EnsureDirectoryExists(Screenshots.c_str(), false) && result; result = FileSystem::EnsureDirectoryExists(Shaders.c_str(), false) && result; + result = FileSystem::EnsureDirectoryExists(Path::Combine(Shaders, "reshade").c_str(), false) && result; + result = FileSystem::EnsureDirectoryExists(Path::Combine(Shaders, "reshade" FS_OSPATH_SEPARATOR_STR "Shaders").c_str(), false) && result; + result = FileSystem::EnsureDirectoryExists(Path::Combine(Shaders, "reshade" FS_OSPATH_SEPARATOR_STR "Textures").c_str(), false) && result; result = FileSystem::EnsureDirectoryExists(Textures.c_str(), false) && result; return result; }