diff options
| author | 2017-10-09 23:56:20 -0400 | |
|---|---|---|
| committer | 2017-10-09 23:56:20 -0400 | |
| commit | b1d5db1cf60344b6b081c9d03cb6ccc3264326cd (patch) | |
| tree | fde377c4ba3c0f92c032e6f5ec8627aae37270ef /src/core/settings.h | |
| parent | loader: Various improvements for NSO/NRO loaders. (diff) | |
| parent | Merge pull request #2996 from MerryMage/split-travis (diff) | |
| download | yuzu-b1d5db1cf60344b6b081c9d03cb6ccc3264326cd.tar.gz yuzu-b1d5db1cf60344b6b081c9d03cb6ccc3264326cd.tar.xz yuzu-b1d5db1cf60344b6b081c9d03cb6ccc3264326cd.zip | |
Merge remote-tracking branch 'upstream/master' into nx
# Conflicts:
# src/core/CMakeLists.txt
# src/core/arm/dynarmic/arm_dynarmic.cpp
# src/core/arm/dyncom/arm_dyncom.cpp
# src/core/hle/kernel/process.cpp
# src/core/hle/kernel/thread.cpp
# src/core/hle/kernel/thread.h
# src/core/hle/kernel/vm_manager.cpp
# src/core/loader/3dsx.cpp
# src/core/loader/elf.cpp
# src/core/loader/ncch.cpp
# src/core/memory.cpp
# src/core/memory.h
# src/core/memory_setup.h
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index ee16bb90a..8d78cb424 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -15,6 +15,7 @@ enum class LayoutOption { | |||
| 15 | Default, | 15 | Default, |
| 16 | SingleScreen, | 16 | SingleScreen, |
| 17 | LargeScreen, | 17 | LargeScreen, |
| 18 | SideScreen, | ||
| 18 | }; | 19 | }; |
| 19 | 20 | ||
| 20 | namespace NativeButton { | 21 | namespace NativeButton { |
| @@ -70,7 +71,7 @@ enum Values { | |||
| 70 | static const std::array<const char*, NumAnalogs> mapping = {{ | 71 | static const std::array<const char*, NumAnalogs> mapping = {{ |
| 71 | "circle_pad", "c_stick", | 72 | "circle_pad", "c_stick", |
| 72 | }}; | 73 | }}; |
| 73 | } // namespace NumAnalog | 74 | } // namespace NativeAnalog |
| 74 | 75 | ||
| 75 | struct Values { | 76 | struct Values { |
| 76 | // CheckNew3DS | 77 | // CheckNew3DS |
| @@ -79,6 +80,8 @@ struct Values { | |||
| 79 | // Controls | 80 | // Controls |
| 80 | std::array<std::string, NativeButton::NumButtons> buttons; | 81 | std::array<std::string, NativeButton::NumButtons> buttons; |
| 81 | std::array<std::string, NativeAnalog::NumAnalogs> analogs; | 82 | std::array<std::string, NativeAnalog::NumAnalogs> analogs; |
| 83 | std::string motion_device; | ||
| 84 | std::string touch_device; | ||
| 82 | 85 | ||
| 83 | // Core | 86 | // Core |
| 84 | bool use_cpu_jit; | 87 | bool use_cpu_jit; |
| @@ -128,7 +131,11 @@ struct Values { | |||
| 128 | u16 gdbstub_port; | 131 | u16 gdbstub_port; |
| 129 | 132 | ||
| 130 | // WebService | 133 | // WebService |
| 134 | bool enable_telemetry; | ||
| 131 | std::string telemetry_endpoint_url; | 135 | std::string telemetry_endpoint_url; |
| 136 | std::string verify_endpoint_url; | ||
| 137 | std::string citra_username; | ||
| 138 | std::string citra_token; | ||
| 132 | } extern values; | 139 | } extern values; |
| 133 | 140 | ||
| 134 | // a special value for Values::region_value indicating that citra will automatically select a region | 141 | // a special value for Values::region_value indicating that citra will automatically select a region |
| @@ -136,4 +143,4 @@ struct Values { | |||
| 136 | static constexpr int REGION_VALUE_AUTO_SELECT = -1; | 143 | static constexpr int REGION_VALUE_AUTO_SELECT = -1; |
| 137 | 144 | ||
| 138 | void Apply(); | 145 | void Apply(); |
| 139 | } | 146 | } // namespace Settings |