Save profile name used

- Save the profile name in global config
- Read the profile name when reading the global config
This commit is contained in:
flodavid 2023-12-16 18:26:26 +01:00
parent 82b58668ed
commit 63b835f822
7 changed files with 55 additions and 12 deletions

View file

@ -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;
}