diff options
author | t895 <clombardo169@gmail.com> | 2024-02-16 21:07:03 -0500 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2024-02-16 21:07:03 -0500 |
commit | dc2c302a84e4757b00c22c4ee0d2e7897840dd38 (patch) | |
tree | 8eb6f1f35573abd1183a2231b64fbe4b2b271062 /src/yuzu_cmd | |
parent | a251f7755654bf56204aea8155208ebd6113534a (diff) |
config: Reset per-game profile name on load if empty
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r-- | src/yuzu_cmd/sdl_config.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu_cmd/sdl_config.cpp b/src/yuzu_cmd/sdl_config.cpp index 995114510..6e0f254b6 100644 --- a/src/yuzu_cmd/sdl_config.cpp +++ b/src/yuzu_cmd/sdl_config.cpp @@ -103,6 +103,7 @@ void SdlConfig::ReadSdlPlayerValues(const std::size_t player_index) { if (profile_name.empty()) { // Use the global input config player = Settings::values.players.GetValue(true)[player_index]; + player.profile_name = ""; return; } } |