diff options
| author | 2016-12-21 20:05:56 +0200 | |
|---|---|---|
| committer | 2017-01-11 11:46:44 +0200 | |
| commit | cf3a272332b03640730d1434e9802e166ca931da (patch) | |
| tree | 7297bf1b38679cb84b5baa7c98b5b9e729560131 /src/citra/config.cpp | |
| parent | Merge pull request #2369 from MerryMage/core-frontend (diff) | |
| download | yuzu-cf3a272332b03640730d1434e9802e166ca931da.tar.gz yuzu-cf3a272332b03640730d1434e9802e166ca931da.tar.xz yuzu-cf3a272332b03640730d1434e9802e166ca931da.zip | |
CAM: implement basic camera functions with a blank camera
Diffstat (limited to 'src/citra/config.cpp')
| -rw-r--r-- | src/citra/config.cpp | 15 |
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() { | |||
| 91 | Settings::values.is_new_3ds = sdl2_config->GetBoolean("System", "is_new_3ds", false); | 91 | Settings::values.is_new_3ds = sdl2_config->GetBoolean("System", "is_new_3ds", false); |
| 92 | Settings::values.region_value = sdl2_config->GetInteger("System", "region_value", 1); | 92 | Settings::values.region_value = sdl2_config->GetInteger("System", "region_value", 1); |
| 93 | 93 | ||
| 94 | // Camera | ||
| 95 | using namespace Service::CAM; | ||
| 96 | Settings::values.camera_name[OuterRightCamera] = | ||
| 97 | sdl2_config->Get("Camera", "camera_outer_right_name", "blank"); | ||
| 98 | Settings::values.camera_config[OuterRightCamera] = | ||
| 99 | sdl2_config->Get("Camera", "camera_outer_right_config", ""); | ||
| 100 | Settings::values.camera_name[InnerCamera] = | ||
| 101 | sdl2_config->Get("Camera", "camera_inner_name", "blank"); | ||
| 102 | Settings::values.camera_config[InnerCamera] = | ||
| 103 | sdl2_config->Get("Camera", "camera_inner_config", ""); | ||
| 104 | Settings::values.camera_name[OuterLeftCamera] = | ||
| 105 | sdl2_config->Get("Camera", "camera_outer_left_name", "blank"); | ||
| 106 | Settings::values.camera_config[OuterLeftCamera] = | ||
| 107 | sdl2_config->Get("Camera", "camera_outer_left_config", ""); | ||
| 108 | |||
| 94 | // Miscellaneous | 109 | // Miscellaneous |
| 95 | Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Info"); | 110 | Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Info"); |
| 96 | 111 | ||