diff options
| author | 2016-05-24 17:22:44 -0400 | |
|---|---|---|
| committer | 2016-05-24 17:24:11 -0400 | |
| commit | c106f71bebdc6fffc03967f5a57618cfbe2ebaed (patch) | |
| tree | b2a38b17a7ba306d97e90c3a0bf1a29cd8c841f8 /src/core | |
| parent | Merge pull request #1520 from JamePeng/checknew3ds (diff) | |
| download | yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar.gz yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.tar.xz yuzu-c106f71bebdc6fffc03967f5a57618cfbe2ebaed.zip | |
New3DS: Minor style cleanup to #1520.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/ptm/ptm.cpp | 4 | ||||
| -rw-r--r-- | src/core/settings.h | 2 |
2 files changed, 3 insertions, 3 deletions
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) { | |||
| 91 | 91 | ||
| 92 | void CheckNew3DS(Service::Interface* self) { | 92 | void CheckNew3DS(Service::Interface* self) { |
| 93 | u32* cmd_buff = Kernel::GetCommandBuffer(); | 93 | u32* cmd_buff = Kernel::GetCommandBuffer(); |
| 94 | const bool is_new_3ds = Settings::values.is_new3ds; | 94 | const bool is_new_3ds = Settings::values.is_new_3ds; |
| 95 | 95 | ||
| 96 | if (is_new_3ds) { | 96 | if (is_new_3ds) { |
| 97 | LOG_CRITICAL(Service_PTM, "The option 'is_new3ds' is enabled as part of the 'System' settings. Citra does not fully support New3DS emulation yet!"); | 97 | 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!"); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | cmd_buff[1] = RESULT_SUCCESS.raw; | 100 | 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 = {{ | |||
| 42 | 42 | ||
| 43 | struct Values { | 43 | struct Values { |
| 44 | // CheckNew3DS | 44 | // CheckNew3DS |
| 45 | bool is_new3ds; | 45 | bool is_new_3ds; |
| 46 | 46 | ||
| 47 | // Controls | 47 | // Controls |
| 48 | std::array<int, NativeInput::NUM_INPUTS> input_mappings; | 48 | std::array<int, NativeInput::NUM_INPUTS> input_mappings; |