summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-06-07 17:27:14 +0200
committerwwylele <wwylele@gmail.com>2016-07-02 10:44:25 +0200
commit3687a805ecbe870e231234fec77b82408388d4ac (patch)
tree24b7905dea6189e96857489d155c9ade408c49fe /src/core/hle/service/cfg
parentMerge pull request #1869 from wwylele/dont-be-lazy (diff)
downloadyuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar
yuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar.gz
yuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar.bz2
yuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar.lz
yuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar.xz
yuzu-3687a805ecbe870e231234fec77b82408388d4ac.tar.zst
yuzu-3687a805ecbe870e231234fec77b82408388d4ac.zip
Diffstat (limited to 'src/core/hle/service/cfg')
-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 } };
static const u8 CONSOLE_LANGUAGE = LANGUAGE_EN;
static const UsernameBlock CONSOLE_USERNAME_BLOCK = { u"CITRA", 0, 0 };
static const BirthdayBlock PROFILE_BIRTHDAY = { 3, 25 }; // March 25th, 2014
-/// TODO(Subv): Find out what this actually is
-static const u8 SOUND_OUTPUT_MODE = 2;
+static const u8 SOUND_OUTPUT_MODE = SOUND_SURROUND;
static const u8 UNITED_STATES_COUNTRY_ID = 49;
/// TODO(Subv): Find what the other bytes are
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 {
LANGUAGE_RU = 10
};
+enum SoundOutputMode {
+ SOUND_MONO = 0,
+ SOUND_STEREO = 1,
+ SOUND_SURROUND = 2
+};
+
/// Block header in the config savedata file
struct SaveConfigBlockEntry {
u32 block_id; ///< The id of the current block