|
|
@ -55,13 +55,13 @@ Cpu::Cpu(std::shared_ptr<ExclusiveMonitor> exclusive_monitor,
|
|
|
|
|
|
|
|
|
|
|
|
if (Settings::values.use_cpu_jit) {
|
|
|
|
if (Settings::values.use_cpu_jit) {
|
|
|
|
#ifdef ARCHITECTURE_x86_64
|
|
|
|
#ifdef ARCHITECTURE_x86_64
|
|
|
|
arm_interface = std::make_shared<ARM_Dynarmic>(exclusive_monitor, core_index);
|
|
|
|
arm_interface = std::make_unique<ARM_Dynarmic>(exclusive_monitor, core_index);
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
arm_interface = std::make_shared<ARM_Unicorn>();
|
|
|
|
arm_interface = std::make_unique<ARM_Unicorn>();
|
|
|
|
LOG_WARNING(Core, "CPU JIT requested, but Dynarmic not available");
|
|
|
|
LOG_WARNING(Core, "CPU JIT requested, but Dynarmic not available");
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
arm_interface = std::make_shared<ARM_Unicorn>();
|
|
|
|
arm_interface = std::make_unique<ARM_Unicorn>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
scheduler = std::make_shared<Kernel::Scheduler>(*arm_interface);
|
|
|
|
scheduler = std::make_shared<Kernel::Scheduler>(*arm_interface);
|
|
|
|