diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/config.cpp | 11 | ||||
| -rw-r--r-- | src/yuzu/configuration/config.h | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp index 5755e5b2d..f2ef34cbc 100644 --- a/src/yuzu/configuration/config.cpp +++ b/src/yuzu/configuration/config.cpp | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include "common/fs/fs.h" | 8 | #include "common/fs/fs.h" |
| 9 | #include "common/fs/path_util.h" | 9 | #include "common/fs/path_util.h" |
| 10 | #include "common/settings.h" | 10 | #include "common/settings.h" |
| 11 | #include "common/settings_common.h" | ||
| 11 | #include "core/core.h" | 12 | #include "core/core.h" |
| 12 | #include "core/hle/service/acc/profile_manager.h" | 13 | #include "core/hle/service/acc/profile_manager.h" |
| 13 | #include "core/hle/service/hid/controllers/npad.h" | 14 | #include "core/hle/service/hid/controllers/npad.h" |
| @@ -725,11 +726,21 @@ void Config::ReadMultiplayerValues() { | |||
| 725 | qt_config->endGroup(); | 726 | qt_config->endGroup(); |
| 726 | } | 727 | } |
| 727 | 728 | ||
| 729 | void Config::ReadNetworkValues() { | ||
| 730 | qt_config->beginGroup( | ||
| 731 | QString::fromUtf8(Settings::TranslateCategory(Settings::Category::Network))); | ||
| 732 | |||
| 733 | ReadCategory(Settings::Category::Network); | ||
| 734 | |||
| 735 | qt_config->endGroup(); | ||
| 736 | } | ||
| 737 | |||
| 728 | void Config::ReadValues() { | 738 | void Config::ReadValues() { |
| 729 | if (global) { | 739 | if (global) { |
| 730 | ReadDataStorageValues(); | 740 | ReadDataStorageValues(); |
| 731 | ReadDebuggingValues(); | 741 | ReadDebuggingValues(); |
| 732 | ReadDisabledAddOnValues(); | 742 | ReadDisabledAddOnValues(); |
| 743 | ReadNetworkValues(); | ||
| 733 | ReadServiceValues(); | 744 | ReadServiceValues(); |
| 734 | ReadUIValues(); | 745 | ReadUIValues(); |
| 735 | ReadWebServiceValues(); | 746 | ReadWebServiceValues(); |
diff --git a/src/yuzu/configuration/config.h b/src/yuzu/configuration/config.h index a68f291a2..0ac74c8e7 100644 --- a/src/yuzu/configuration/config.h +++ b/src/yuzu/configuration/config.h | |||
| @@ -98,6 +98,7 @@ private: | |||
| 98 | void ReadUILayoutValues(); | 98 | void ReadUILayoutValues(); |
| 99 | void ReadWebServiceValues(); | 99 | void ReadWebServiceValues(); |
| 100 | void ReadMultiplayerValues(); | 100 | void ReadMultiplayerValues(); |
| 101 | void ReadNetworkValues(); | ||
| 101 | 102 | ||
| 102 | void SaveValues(); | 103 | void SaveValues(); |
| 103 | void SavePlayerValue(std::size_t player_index); | 104 | void SavePlayerValue(std::size_t player_index); |