VERY experimental Nintendo Switch 2 emulator
C++
New3DS: Minor style cleanup to #1520.
bunnei588e3c253f95
diff --git a/src/citra/config.cpp b/src/citra/config.cppindex 4d170dec8b..c64de8e225 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);// Miscellaneousdiff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cppindex f6e4981287..6e4ba39076 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.cppindex 3a0331ee19..e2c17d93b3 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.hindex a61f25cbee..ea72f4d9cc 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;// Controlsstd::array<int, NativeInput::NUM_INPUTS> input_mappings;