mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 17:37:59 -05:00
core_cpu: Make arm_interface instances a std::unique_ptr
This is only exposed by reference, so we can just make it a unique pointer to get rid of the need to also use reference counting for the pointer.
This commit is contained in:
@ -76,7 +76,7 @@ public:
|
||||
private:
|
||||
void Reschedule();
|
||||
|
||||
std::shared_ptr<ARM_Interface> arm_interface;
|
||||
std::unique_ptr<ARM_Interface> arm_interface;
|
||||
std::shared_ptr<CpuBarrier> cpu_barrier;
|
||||
std::shared_ptr<Kernel::Scheduler> scheduler;
|
||||
|
||||
|
Reference in New Issue
Block a user