mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-09-04 10:26:31 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user