diff options
| author | 2016-06-07 18:27:14 +0300 | |
|---|---|---|
| committer | 2016-07-02 11:44:25 +0300 | |
| commit | 3687a805ecbe870e231234fec77b82408388d4ac (patch) | |
| tree | 24b7905dea6189e96857489d155c9ade408c49fe /src | |
| parent | Merge pull request #1869 from wwylele/dont-be-lazy (diff) | |
| download | yuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar.gz yuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar.xz yuzu-3687a805ecbe870e231234fec77b82408388d4ac.zip | |
Service::CFG: name sound output modes
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/cfg/cfg.cpp | 3 | ||||
| -rw-r--r-- | src/core/hle/service/cfg/cfg.h | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index e067db645..8e0848bf1 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp | |||
| @@ -73,8 +73,7 @@ static const ConsoleModelInfo CONSOLE_MODEL = { NINTENDO_3DS_XL, { 0, 0, 0 } }; | |||
| 73 | static const u8 CONSOLE_LANGUAGE = LANGUAGE_EN; | 73 | static const u8 CONSOLE_LANGUAGE = LANGUAGE_EN; |
| 74 | static const UsernameBlock CONSOLE_USERNAME_BLOCK = { u"CITRA", 0, 0 }; | 74 | static const UsernameBlock CONSOLE_USERNAME_BLOCK = { u"CITRA", 0, 0 }; |
| 75 | static const BirthdayBlock PROFILE_BIRTHDAY = { 3, 25 }; // March 25th, 2014 | 75 | static const BirthdayBlock PROFILE_BIRTHDAY = { 3, 25 }; // March 25th, 2014 |
| 76 | /// TODO(Subv): Find out what this actually is | 76 | static const u8 SOUND_OUTPUT_MODE = SOUND_SURROUND; |
| 77 | static const u8 SOUND_OUTPUT_MODE = 2; | ||
| 78 | static const u8 UNITED_STATES_COUNTRY_ID = 49; | 77 | static const u8 UNITED_STATES_COUNTRY_ID = 49; |
| 79 | /// TODO(Subv): Find what the other bytes are | 78 | /// TODO(Subv): Find what the other bytes are |
| 80 | static const ConsoleCountryInfo COUNTRY_INFO = { { 0, 0, 0 }, UNITED_STATES_COUNTRY_ID }; | 79 | static const ConsoleCountryInfo COUNTRY_INFO = { { 0, 0, 0 }, UNITED_STATES_COUNTRY_ID }; |
diff --git a/src/core/hle/service/cfg/cfg.h b/src/core/hle/service/cfg/cfg.h index c01806836..57e0821f3 100644 --- a/src/core/hle/service/cfg/cfg.h +++ b/src/core/hle/service/cfg/cfg.h | |||
| @@ -38,6 +38,12 @@ enum SystemLanguage { | |||
| 38 | LANGUAGE_RU = 10 | 38 | LANGUAGE_RU = 10 |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | enum SoundOutputMode { | ||
| 42 | SOUND_MONO = 0, | ||
| 43 | SOUND_STEREO = 1, | ||
| 44 | SOUND_SURROUND = 2 | ||
| 45 | }; | ||
| 46 | |||
| 41 | /// Block header in the config savedata file | 47 | /// Block header in the config savedata file |
| 42 | struct SaveConfigBlockEntry { | 48 | struct SaveConfigBlockEntry { |
| 43 | u32 block_id; ///< The id of the current block | 49 | u32 block_id; ///< The id of the current block |