From 63b835f822e5167aa529f2c27c5df136defef6eb Mon Sep 17 00:00:00 2001 From: flodavid Date: Sat, 16 Dec 2023 18:26:26 +0100 Subject: Save profile name used - Save the profile name in global config - Read the profile name when reading the global config --- src/yuzu/configuration/input_profiles.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/yuzu/configuration/input_profiles.cpp') diff --git a/src/yuzu/configuration/input_profiles.cpp b/src/yuzu/configuration/input_profiles.cpp index 716efbccd..ebebadc94 100644 --- a/src/yuzu/configuration/input_profiles.cpp +++ b/src/yuzu/configuration/input_profiles.cpp @@ -5,6 +5,7 @@ #include "common/fs/fs.h" #include "common/fs/path_util.h" +#include "common/logging/log.h" #include "frontend_common/config.h" #include "yuzu/configuration/input_profiles.h" @@ -113,6 +114,8 @@ bool InputProfiles::LoadProfile(const std::string& profile_name, std::size_t pla return false; } + LOG_INFO(Config, "Loading input profile `{}`", profile_name); + map_profiles[profile_name]->ReadQtControlPlayerValues(player_index); return true; } -- cgit v1.2.3