diff options
| author | 2018-01-12 16:06:30 +0000 | |
|---|---|---|
| committer | 2018-01-12 17:48:52 -0500 | |
| commit | b628192bf27c871af3ecbf8982b4a13a78fd70c4 (patch) | |
| tree | a5d66996675378584d2324c48c8e3ef4c8f33a74 /src/core/settings.h | |
| parent | arm_dynarmic: Implement core (diff) | |
| download | yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.gz yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.tar.xz yuzu-b628192bf27c871af3ecbf8982b4a13a78fd70c4.zip | |
configuration: Add cpu_core configuration option
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 912b2c885..ebf072cff 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -72,6 +72,11 @@ static const std::array<const char*, NumAnalogs> mapping = {{ | |||
| 72 | }}; | 72 | }}; |
| 73 | } // namespace NativeAnalog | 73 | } // namespace NativeAnalog |
| 74 | 74 | ||
| 75 | enum class CpuCore { | ||
| 76 | Unicorn, | ||
| 77 | Dynarmic, | ||
| 78 | }; | ||
| 79 | |||
| 75 | struct Values { | 80 | struct Values { |
| 76 | // CheckNew3DS | 81 | // CheckNew3DS |
| 77 | bool is_new_3ds; | 82 | bool is_new_3ds; |
| @@ -83,7 +88,7 @@ struct Values { | |||
| 83 | std::string touch_device; | 88 | std::string touch_device; |
| 84 | 89 | ||
| 85 | // Core | 90 | // Core |
| 86 | bool use_cpu_jit; | 91 | CpuCore cpu_core; |
| 87 | 92 | ||
| 88 | // Data Storage | 93 | // Data Storage |
| 89 | bool use_virtual_sd; | 94 | bool use_virtual_sd; |