diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 0240f946b..e5f299f26 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -140,8 +140,16 @@ void System::Reschedule() { | |||
| 140 | System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) { | 140 | System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) { |
| 141 | LOG_DEBUG(HW_Memory, "initialized OK"); | 141 | LOG_DEBUG(HW_Memory, "initialized OK"); |
| 142 | 142 | ||
| 143 | // TODO: Configuration option | 143 | switch (Settings::values.cpu_core) { |
| 144 | cpu_core = std::make_unique<ARM_Dynarmic>(); | 144 | case Settings::CpuCore::Unicorn: |
| 145 | cpu_core = std::make_unique<ARM_Unicorn>(); | ||
| 146 | break; | ||
| 147 | case Settings::CpuCore::Dynarmic: | ||
| 148 | default: | ||
| 149 | cpu_core = std::make_unique<ARM_Dynarmic>(); | ||
| 150 | break; | ||
| 151 | } | ||
| 152 | |||
| 145 | telemetry_session = std::make_unique<Core::TelemetrySession>(); | 153 | telemetry_session = std::make_unique<Core::TelemetrySession>(); |
| 146 | 154 | ||
| 147 | CoreTiming::Init(); | 155 | CoreTiming::Init(); |