summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index d1359e434..1b5b11564 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -614,7 +614,7 @@ struct KernelCore::Impl {
614 std::atomic<u64> next_thread_id{1}; 614 std::atomic<u64> next_thread_id{1};
615 615
616 // Lists all processes that exist in the current session. 616 // Lists all processes that exist in the current session.
617 std::vector<std::shared_ptr<Process>> process_list; 617 std::vector<Process*> process_list;
618 Process* current_process = nullptr; 618 Process* current_process = nullptr;
619 std::unique_ptr<Kernel::GlobalSchedulerContext> global_scheduler_context; 619 std::unique_ptr<Kernel::GlobalSchedulerContext> global_scheduler_context;
620 Kernel::TimeManager time_manager; 620 Kernel::TimeManager time_manager;
@@ -699,8 +699,8 @@ KScopedAutoObject<KThread> KernelCore::RetrieveThreadFromGlobalHandleTable(Handl
699 return impl->global_handle_table.GetObject<KThread>(handle); 699 return impl->global_handle_table.GetObject<KThread>(handle);
700} 700}
701 701
702void KernelCore::AppendNewProcess(std::shared_ptr<Process> process) { 702void KernelCore::AppendNewProcess(Process* process) {
703 impl->process_list.push_back(std::move(process)); 703 impl->process_list.push_back(process);
704} 704}
705 705
706void KernelCore::MakeCurrentProcess(Process* process) { 706void KernelCore::MakeCurrentProcess(Process* process) {
@@ -715,7 +715,7 @@ const Process* KernelCore::CurrentProcess() const {
715 return impl->current_process; 715 return impl->current_process;
716} 716}
717 717
718const std::vector<std::shared_ptr<Process>>& KernelCore::GetProcessList() const { 718const std::vector<Process*>& KernelCore::GetProcessList() const {
719 return impl->process_list; 719 return impl->process_list;
720} 720}
721 721