diff options
| author | 2018-05-02 22:36:51 -0400 | |
|---|---|---|
| committer | 2018-05-10 19:34:46 -0400 | |
| commit | a434fdcb102e96ddf564dc0973d7073d49bf19fc (patch) | |
| tree | de758b0cc5ebcb67146397a74474fb898c0be51a /src/core/core_cpu.cpp | |
| parent | core: Create a thread for each CPU core, keep in lock-step with a barrier. (diff) | |
| download | yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar.gz yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar.xz yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.zip | |
core: Implement multicore support.
Diffstat (limited to 'src/core/core_cpu.cpp')
| -rw-r--r-- | src/core/core_cpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp index 6bdfdd7df..a556f12e9 100644 --- a/src/core/core_cpu.cpp +++ b/src/core/core_cpu.cpp | |||
| @@ -33,7 +33,7 @@ Cpu::Cpu(std::shared_ptr<CpuBarrier> cpu_barrier, size_t core_index) | |||
| 33 | arm_interface = std::make_shared<ARM_Unicorn>(); | 33 | arm_interface = std::make_shared<ARM_Unicorn>(); |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | scheduler = std::make_unique<Kernel::Scheduler>(arm_interface.get()); | 36 | scheduler = std::make_shared<Kernel::Scheduler>(arm_interface.get()); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | void Cpu::RunLoop(bool tight_loop) { | 39 | void Cpu::RunLoop(bool tight_loop) { |