diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 0cf3c8f70..edd4c4259 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -101,7 +101,7 @@ struct KernelCore::Impl { | |||
| 101 | void Initialize(KernelCore& kernel) { | 101 | void Initialize(KernelCore& kernel) { |
| 102 | Shutdown(); | 102 | Shutdown(); |
| 103 | 103 | ||
| 104 | InitializePhysicalCores(kernel); | 104 | InitializePhysicalCores(); |
| 105 | InitializeSystemResourceLimit(kernel); | 105 | InitializeSystemResourceLimit(kernel); |
| 106 | InitializeThreads(); | 106 | InitializeThreads(); |
| 107 | InitializePreemption(); | 107 | InitializePreemption(); |
| @@ -131,14 +131,14 @@ struct KernelCore::Impl { | |||
| 131 | } | 131 | } |
| 132 | cores.clear(); | 132 | cores.clear(); |
| 133 | 133 | ||
| 134 | exclusive_monitor.reset(nullptr); | 134 | exclusive_monitor.reset(); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | void InitializePhysicalCores(KernelCore& kernel) { | 137 | void InitializePhysicalCores() { |
| 138 | exclusive_monitor = | 138 | exclusive_monitor = |
| 139 | Core::MakeExclusiveMonitor(system.Memory(), global_scheduler.CpuCoresCount()); | 139 | Core::MakeExclusiveMonitor(system.Memory(), global_scheduler.CpuCoresCount()); |
| 140 | for (std::size_t i = 0; i < global_scheduler.CpuCoresCount(); i++) { | 140 | for (std::size_t i = 0; i < global_scheduler.CpuCoresCount(); i++) { |
| 141 | cores.emplace_back(system, kernel, i, *exclusive_monitor); | 141 | cores.emplace_back(system, i, *exclusive_monitor); |
| 142 | } | 142 | } |
| 143 | } | 143 | } |
| 144 | 144 | ||