summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorGravatar MerryMage2018-01-12 16:06:30 +0000
committerGravatar bunnei2018-01-12 17:48:52 -0500
commitb628192bf27c871af3ecbf8982b4a13a78fd70c4 (patch)
treea5d66996675378584d2324c48c8e3ef4c8f33a74 /src/core/settings.h
parentarm_dynarmic: Implement core (diff)
downloadyuzu-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.h7
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
75enum class CpuCore {
76 Unicorn,
77 Dynarmic,
78};
79
75struct Values { 80struct 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;