1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Rename SPECIAL_FOLDER and its members

This commit is contained in:
Gymnasiast
2025-03-26 12:06:31 +01:00
parent c7d38b29fc
commit 5b7793f77b
7 changed files with 36 additions and 36 deletions

View File

@@ -755,7 +755,7 @@ namespace OpenRCT2::Config
}
}
auto discordPath = Platform::GetFolderPath(SPECIAL_FOLDER::RCT2_DISCORD);
auto discordPath = Platform::GetFolderPath(SpecialFolder::rct2Discord);
if (!discordPath.empty() && Platform::OriginalGameDataExists(discordPath))
{
return discordPath;
@@ -777,7 +777,7 @@ namespace OpenRCT2::Config
desc.Filters.emplace_back(LanguageGetString(STR_GOG_INSTALLER), "*.exe");
desc.Filters.emplace_back(LanguageGetString(STR_ALL_FILES), "*");
const auto userHomePath = Platform::GetFolderPath(SPECIAL_FOLDER::USER_HOME);
const auto userHomePath = Platform::GetFolderPath(SpecialFolder::userHome);
desc.InitialDirectory = userHomePath;
return ContextOpenCommonFileDialog(desc);