diff options
Diffstat (limited to 'src/citron/configuration/input_profiles.cpp')
-rw-r--r-- | src/citron/configuration/input_profiles.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/citron/configuration/input_profiles.cpp b/src/citron/configuration/input_profiles.cpp index ebebadc94..6b99b7a53 100644 --- a/src/citron/configuration/input_profiles.cpp +++ b/src/citron/configuration/input_profiles.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project +// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project & 2025 citron Homebrew Project // SPDX-License-Identifier: GPL-2.0-or-later #include <fmt/format.h> @@ -7,14 +7,14 @@ #include "common/fs/path_util.h" #include "common/logging/log.h" #include "frontend_common/config.h" -#include "yuzu/configuration/input_profiles.h" +#include "citron/configuration/input_profiles.h" namespace FS = Common::FS; namespace { bool ProfileExistsInFilesystem(std::string_view profile_name) { - return FS::Exists(FS::GetYuzuPath(FS::YuzuPath::ConfigDir) / "input" / + return FS::Exists(FS::GetCitronPath(FS::CitronPath::ConfigDir) / "input" / fmt::format("{}.ini", profile_name)); } @@ -29,7 +29,7 @@ std::filesystem::path GetNameWithoutExtension(std::filesystem::path filename) { } // namespace InputProfiles::InputProfiles() { - const auto input_profile_loc = FS::GetYuzuPath(FS::YuzuPath::ConfigDir) / "input"; + const auto input_profile_loc = FS::GetCitronPath(FS::CitronPath::ConfigDir) / "input"; if (!FS::IsDir(input_profile_loc)) { return; |