summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-31 05:57:53 +0200
committerbunnei <bunneidev@gmail.com>2018-08-01 04:38:42 +0200
commitca84b530a376e826c1a90d7c7e402d4a3bce00b7 (patch)
tree3febdf01f6402c88f0372d2c2644601108734031 /src/yuzu_cmd/config.cpp
parentMerge pull request #876 from lioncash/include (diff)
downloadyuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.gz
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.bz2
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.lz
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.xz
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.tar.zst
yuzu-ca84b530a376e826c1a90d7c7e402d4a3bce00b7.zip
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index cea1a5e62..c581e9699 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -105,6 +105,11 @@ void Config::ReadValues() {
Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 0.0);
Settings::values.bg_blue = (float)sdl2_config->GetReal("Renderer", "bg_blue", 0.0);
+ // Audio
+ Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto");
+ Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto");
+ Settings::values.volume = sdl2_config->GetReal("Audio", "volume", 1);
+
// Data Storage
Settings::values.use_virtual_sd =
sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true);