summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-02-17 03:07:03 +0100
committert895 <clombardo169@gmail.com>2024-02-17 03:07:03 +0100
commitdc2c302a84e4757b00c22c4ee0d2e7897840dd38 (patch)
tree8eb6f1f35573abd1183a2231b64fbe4b2b271062 /src
parentandroid: Allow SettingsItems to use String or StringRes (diff)
downloadyuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar
yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar.gz
yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar.bz2
yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar.lz
yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar.xz
yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.tar.zst
yuzu-dc2c302a84e4757b00c22c4ee0d2e7897840dd38.zip
Diffstat (limited to 'src')
-rw-r--r--src/frontend_common/config.cpp1
-rw-r--r--src/yuzu/configuration/qt_config.cpp1
-rw-r--r--src/yuzu_cmd/sdl_config.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend_common/config.cpp b/src/frontend_common/config.cpp
index 2bebfeef9..95f8c8c36 100644
--- a/src/frontend_common/config.cpp
+++ b/src/frontend_common/config.cpp
@@ -138,6 +138,7 @@ void Config::ReadPlayerValues(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;
}
player.profile_name = profile_name;
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp
index 1051031f2..37951b9c8 100644
--- a/src/yuzu/configuration/qt_config.cpp
+++ b/src/yuzu/configuration/qt_config.cpp
@@ -90,6 +90,7 @@ void QtConfig::ReadQtPlayerValues(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;
}
}
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;
}
}