summaryrefslogtreecommitdiffstats
path: root/src/core/core_cpu.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-15 14:42:06 +0200
committerLioncash <mathew1800@gmail.com>2018-10-15 15:11:47 +0200
commitc34efbbd60a41afbbab2ff17bbff999519cfb4b6 (patch)
treebc6fa89e02a4c8d43b3cee93c124e3bc74b476b5 /src/core/core_cpu.h
parentMerge pull request #1486 from lioncash/file (diff)
downloadyuzu-c34efbbd60a41afbbab2ff17bbff999519cfb4b6.tar
yuzu-c34efbbd60a41afbbab2ff17bbff999519cfb4b6.tar.gz
yuzu-c34efbbd60a41afbbab2ff17bbff999519cfb4b6.tar.bz2
yuzu-c34efbbd60a41afbbab2ff17bbff999519cfb4b6.tar.lz
yuzu-c34efbbd60a41afbbab2ff17bbff999519cfb4b6.tar.xz
yuzu-c34efbbd60a41afbbab2ff17bbff999519cfb4b6.tar.zst
yuzu-c34efbbd60a41afbbab2ff17bbff999519cfb4b6.zip
Diffstat (limited to '')
-rw-r--r--src/core/core_cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core_cpu.h b/src/core/core_cpu.h
index ee7e04abc..68d83ac8f 100644
--- a/src/core/core_cpu.h
+++ b/src/core/core_cpu.h
@@ -41,8 +41,8 @@ private:
class Cpu {
public:
- Cpu(std::shared_ptr<ExclusiveMonitor> exclusive_monitor,
- std::shared_ptr<CpuBarrier> cpu_barrier, std::size_t core_index);
+ Cpu(std::shared_ptr<ExclusiveMonitor> exclusive_monitor, CpuBarrier& cpu_barrier,
+ std::size_t core_index);
~Cpu();
void RunLoop(bool tight_loop = true);
@@ -77,7 +77,7 @@ private:
void Reschedule();
std::unique_ptr<ARM_Interface> arm_interface;
- std::shared_ptr<CpuBarrier> cpu_barrier;
+ CpuBarrier& cpu_barrier;
std::shared_ptr<Kernel::Scheduler> scheduler;
std::atomic<bool> reschedule_pending = false;