diff options
| author | 2018-08-04 01:02:55 +1000 | |
|---|---|---|
| committer | 2018-08-03 11:02:55 -0400 | |
| commit | c1d54f4aeaada515f88b633b8cf0901ee4cb6853 (patch) | |
| tree | e320222f18419b07c22617f06980bc0b767e3db7 /src/core/settings.h | |
| parent | Merge pull request #895 from lioncash/sink (diff) | |
| download | yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar.gz yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar.xz yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.zip | |
Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 8cc65e434..e826d4235 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -112,6 +112,8 @@ static const std::array<const char*, NumAnalogs> mapping = {{ | |||
| 112 | struct Values { | 112 | struct Values { |
| 113 | // System | 113 | // System |
| 114 | bool use_docked_mode; | 114 | bool use_docked_mode; |
| 115 | std::string username; | ||
| 116 | int language_index; | ||
| 115 | 117 | ||
| 116 | // Controls | 118 | // Controls |
| 117 | std::array<std::string, NativeButton::NumButtons> buttons; | 119 | std::array<std::string, NativeButton::NumButtons> buttons; |