From b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Tue, 31 Dec 2024 17:07:49 +1000 Subject: chore: update project references and add Citron copyright - Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files. --- src/citron/configuration/input_profiles.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/citron/configuration/input_profiles.cpp') 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 @@ -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; -- cgit v1.2.3