summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-24 23:22:44 +0200
committerbunnei <bunneidev@gmail.com>2016-05-24 23:24:11 +0200
commitc106f71bebdc6fffc03967f5a57618cfbe2ebaed (patch)
treeb2a38b17a7ba306d97e90c3a0bf1a29cd8c841f8 /src
parentMerge pull request #1520 from JamePeng/checknew3ds (diff)
downloadyuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar
yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar.gz
yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar.bz2
yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar.lz
yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar.xz
yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar.zst
yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.zip
Diffstat (limited to 'src')
-rw-r--r--src/citra/config.cpp2
-rw-r--r--src/citra_qt/config.cpp4
-rw-r--r--src/core/hle/service/ptm/ptm.cpp4
-rw-r--r--src/core/settings.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 4d170dec8..c64de8e22 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -78,7 +78,7 @@ void Config::ReadValues() {
Settings::values.use_virtual_sd = sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true);
// System
- Settings::values.is_new3ds = sdl2_config->GetBoolean("System", "is_new3ds", false);
+ Settings::values.is_new_3ds = sdl2_config->GetBoolean("System", "is_new_3ds", false);
Settings::values.region_value = sdl2_config->GetInteger("System", "region_value", 1);
// Miscellaneous
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index f6e498128..6e4ba3907 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -61,7 +61,7 @@ void Config::ReadValues() {
qt_config->endGroup();
qt_config->beginGroup("System");
- Settings::values.is_new3ds = qt_config->value("is_new3ds", false).toBool();
+ Settings::values.is_new_3ds = qt_config->value("is_new_3ds", false).toBool();
Settings::values.region_value = qt_config->value("region_value", 1).toInt();
qt_config->endGroup();
@@ -152,7 +152,7 @@ void Config::SaveValues() {
qt_config->endGroup();
qt_config->beginGroup("System");
- qt_config->setValue("is_new3ds", Settings::values.is_new3ds);
+ qt_config->setValue("is_new_3ds", Settings::values.is_new_3ds);
qt_config->setValue("region_value", Settings::values.region_value);
qt_config->endGroup();
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp
index 3a0331ee1..e2c17d93b 100644
--- a/src/core/hle/service/ptm/ptm.cpp
+++ b/src/core/hle/service/ptm/ptm.cpp
@@ -91,10 +91,10 @@ void IsLegacyPowerOff(Service::Interface* self) {
void CheckNew3DS(Service::Interface* self) {
u32* cmd_buff = Kernel::GetCommandBuffer();
- const bool is_new_3ds = Settings::values.is_new3ds;
+ const bool is_new_3ds = Settings::values.is_new_3ds;
if (is_new_3ds) {
- LOG_CRITICAL(Service_PTM, "The option 'is_new3ds' is enabled as part of the 'System' settings. Citra does not fully support New3DS emulation yet!");
+ LOG_CRITICAL(Service_PTM, "The option 'is_new_3ds' is enabled as part of the 'System' settings. Citra does not fully support New 3DS emulation yet!");
}
cmd_buff[1] = RESULT_SUCCESS.raw;
diff --git a/src/core/settings.h b/src/core/settings.h
index a61f25cbe..ea72f4d9c 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -42,7 +42,7 @@ static const std::array<Values, NUM_INPUTS> All = {{
struct Values {
// CheckNew3DS
- bool is_new3ds;
+ bool is_new_3ds;
// Controls
std::array<int, NativeInput::NUM_INPUTS> input_mappings;