summaryrefslogtreecommitdiffstats
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-12-21 19:05:56 +0100
committerwwylele <wwylele@gmail.com>2017-01-11 10:46:44 +0100
commitcf3a272332b03640730d1434e9802e166ca931da (patch)
tree7297bf1b38679cb84b5baa7c98b5b9e729560131 /src/citra/config.cpp
parentMerge pull request #2369 from MerryMage/core-frontend (diff)
downloadyuzu-cf3a272332b03640730d1434e9802e166ca931da.tar
yuzu-cf3a272332b03640730d1434e9802e166ca931da.tar.gz
yuzu-cf3a272332b03640730d1434e9802e166ca931da.tar.bz2
yuzu-cf3a272332b03640730d1434e9802e166ca931da.tar.lz
yuzu-cf3a272332b03640730d1434e9802e166ca931da.tar.xz
yuzu-cf3a272332b03640730d1434e9802e166ca931da.tar.zst
yuzu-cf3a272332b03640730d1434e9802e166ca931da.zip
Diffstat (limited to '')
-rw-r--r--src/citra/config.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 29462c982..2223bf0a0 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -91,6 +91,21 @@ void Config::ReadValues() {
Settings::values.is_new_3ds = sdl2_config->GetBoolean("System", "is_new_3ds", false);
Settings::values.region_value = sdl2_config->GetInteger("System", "region_value", 1);
+ // Camera
+ using namespace Service::CAM;
+ Settings::values.camera_name[OuterRightCamera] =
+ sdl2_config->Get("Camera", "camera_outer_right_name", "blank");
+ Settings::values.camera_config[OuterRightCamera] =
+ sdl2_config->Get("Camera", "camera_outer_right_config", "");
+ Settings::values.camera_name[InnerCamera] =
+ sdl2_config->Get("Camera", "camera_inner_name", "blank");
+ Settings::values.camera_config[InnerCamera] =
+ sdl2_config->Get("Camera", "camera_inner_config", "");
+ Settings::values.camera_name[OuterLeftCamera] =
+ sdl2_config->Get("Camera", "camera_outer_left_name", "blank");
+ Settings::values.camera_config[OuterLeftCamera] =
+ sdl2_config->Get("Camera", "camera_outer_left_config", "");
+
// Miscellaneous
Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Info");