diff options
| author | 2024-02-16 21:07:03 -0500 | |
|---|---|---|
| committer | 2024-02-16 21:07:03 -0500 | |
| commit | dc2c302a84e4757b00c22c4ee0d2e7897840dd38 (patch) | |
| tree | 8eb6f1f35573abd1183a2231b64fbe4b2b271062 /src/yuzu_cmd | |
| parent | android: Allow SettingsItems to use String or StringRes (diff) | |
| download | yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar.gz yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar.xz yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.zip | |
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) { | |||
| 103 | if (profile_name.empty()) { | 103 | if (profile_name.empty()) { |
| 104 | // Use the global input config | 104 | // Use the global input config |
| 105 | player = Settings::values.players.GetValue(true)[player_index]; | 105 | player = Settings::values.players.GetValue(true)[player_index]; |
| 106 | player.profile_name = ""; | ||
| 106 | return; | 107 | return; |
| 107 | } | 108 | } |
| 108 | } | 109 | } |