summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar wwylele2016-06-07 18:27:14 +0300
committerGravatar wwylele2016-07-02 11:44:25 +0300
commit3687a805ecbe870e231234fec77b82408388d4ac (patch)
tree24b7905dea6189e96857489d155c9ade408c49fe /src
parentMerge pull request #1869 from wwylele/dont-be-lazy (diff)
downloadyuzu-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.cpp3
-rw-r--r--src/core/hle/service/cfg/cfg.h6
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 } };
73static const u8 CONSOLE_LANGUAGE = LANGUAGE_EN; 73static const u8 CONSOLE_LANGUAGE = LANGUAGE_EN;
74static const UsernameBlock CONSOLE_USERNAME_BLOCK = { u"CITRA", 0, 0 }; 74static const UsernameBlock CONSOLE_USERNAME_BLOCK = { u"CITRA", 0, 0 };
75static const BirthdayBlock PROFILE_BIRTHDAY = { 3, 25 }; // March 25th, 2014 75static const BirthdayBlock PROFILE_BIRTHDAY = { 3, 25 }; // March 25th, 2014
76/// TODO(Subv): Find out what this actually is 76static const u8 SOUND_OUTPUT_MODE = SOUND_SURROUND;
77static const u8 SOUND_OUTPUT_MODE = 2;
78static const u8 UNITED_STATES_COUNTRY_ID = 49; 77static 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
80static const ConsoleCountryInfo COUNTRY_INFO = { { 0, 0, 0 }, UNITED_STATES_COUNTRY_ID }; 79static 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
41enum 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
42struct SaveConfigBlockEntry { 48struct SaveConfigBlockEntry {
43 u32 block_id; ///< The id of the current block 49 u32 block_id; ///< The id of the current block