summaryrefslogtreecommitdiffstats
path: root/src/citra
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/citra/config.cpp15
-rw-r--r--src/citra/default_ini.h16
-rw-r--r--src/citra_qt/configuration/config.cpp32
3 files changed, 0 insertions, 63 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 45c28ad09..432bf2ced 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -134,21 +134,6 @@ void Config::ReadValues() {
Settings::values.region_value =
sdl2_config->GetInteger("System", "region_value", Settings::REGION_VALUE_AUTO_SELECT);
- // 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");
diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h
index 59faf773f..783c4a835 100644
--- a/src/citra/default_ini.h
+++ b/src/citra/default_ini.h
@@ -153,22 +153,6 @@ is_new_3ds =
# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
region_value =
-[Camera]
-# Which camera engine to use for the right outer camera
-# blank (default): a dummy camera that always returns black image
-camera_outer_right_name =
-
-# A config string for the right outer camera. Its meaning is defined by the camera engine
-camera_outer_right_config =
-
-# ... for the left outer camera
-camera_outer_left_name =
-camera_outer_left_config =
-
-# ... for the inner camera
-camera_inner_name =
-camera_inner_config =
-
[Miscellaneous]
# A filter which removes logs below a certain logging level.
# Examples: *:Debug Kernel.SVC:Trace Service.*:Critical
diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp
index 5261f4c4c..c268e0068 100644
--- a/src/citra_qt/configuration/config.cpp
+++ b/src/citra_qt/configuration/config.cpp
@@ -105,22 +105,6 @@ void Config::ReadValues() {
qt_config->value("output_device", "auto").toString().toStdString();
qt_config->endGroup();
- using namespace Service::CAM;
- qt_config->beginGroup("Camera");
- Settings::values.camera_name[OuterRightCamera] =
- qt_config->value("camera_outer_right_name", "blank").toString().toStdString();
- Settings::values.camera_config[OuterRightCamera] =
- qt_config->value("camera_outer_right_config", "").toString().toStdString();
- Settings::values.camera_name[InnerCamera] =
- qt_config->value("camera_inner_name", "blank").toString().toStdString();
- Settings::values.camera_config[InnerCamera] =
- qt_config->value("camera_inner_config", "").toString().toStdString();
- Settings::values.camera_name[OuterLeftCamera] =
- qt_config->value("camera_outer_left_name", "blank").toString().toStdString();
- Settings::values.camera_config[OuterLeftCamera] =
- qt_config->value("camera_outer_left_config", "").toString().toStdString();
- qt_config->endGroup();
-
qt_config->beginGroup("Data Storage");
Settings::values.use_virtual_sd = qt_config->value("use_virtual_sd", true).toBool();
qt_config->endGroup();
@@ -259,22 +243,6 @@ void Config::SaveValues() {
qt_config->setValue("output_device", QString::fromStdString(Settings::values.audio_device_id));
qt_config->endGroup();
- using namespace Service::CAM;
- qt_config->beginGroup("Camera");
- qt_config->setValue("camera_outer_right_name",
- QString::fromStdString(Settings::values.camera_name[OuterRightCamera]));
- qt_config->setValue("camera_outer_right_config",
- QString::fromStdString(Settings::values.camera_config[OuterRightCamera]));
- qt_config->setValue("camera_inner_name",
- QString::fromStdString(Settings::values.camera_name[InnerCamera]));
- qt_config->setValue("camera_inner_config",
- QString::fromStdString(Settings::values.camera_config[InnerCamera]));
- qt_config->setValue("camera_outer_left_name",
- QString::fromStdString(Settings::values.camera_name[OuterLeftCamera]));
- qt_config->setValue("camera_outer_left_config",
- QString::fromStdString(Settings::values.camera_config[OuterLeftCamera]));
- qt_config->endGroup();
-
qt_config->beginGroup("Data Storage");
qt_config->setValue("use_virtual_sd", Settings::values.use_virtual_sd);
qt_config->endGroup();