summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-07 02:34:51 +0200
committerLioncash <mathew1800@gmail.com>2018-09-07 02:52:58 +0200
commit3f17fe71334a27a60bf54adc55eabe2356ed31f5 (patch)
tree11fd2e48608908feb95c9024e3bd8e1267ec538a /src/core/core.h
parentMerge pull request #1250 from lioncash/file-sys (diff)
downloadyuzu-3f17fe71334a27a60bf54adc55eabe2356ed31f5.tar
yuzu-3f17fe71334a27a60bf54adc55eabe2356ed31f5.tar.gz
yuzu-3f17fe71334a27a60bf54adc55eabe2356ed31f5.tar.bz2
yuzu-3f17fe71334a27a60bf54adc55eabe2356ed31f5.tar.lz
yuzu-3f17fe71334a27a60bf54adc55eabe2356ed31f5.tar.xz
yuzu-3f17fe71334a27a60bf54adc55eabe2356ed31f5.tar.zst
yuzu-3f17fe71334a27a60bf54adc55eabe2356ed31f5.zip
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 5c3c0e2a1..ab3663427 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -174,9 +174,12 @@ public:
/// Gets the scheduler for the CPU core with the specified index
const std::shared_ptr<Kernel::Scheduler>& Scheduler(size_t core_index);
- /// Gets the current process
+ /// Provides a reference to the current process
Kernel::SharedPtr<Kernel::Process>& CurrentProcess();
+ /// Provides a constant reference to the current process.
+ const Kernel::SharedPtr<Kernel::Process>& CurrentProcess() const;
+
/// Provides a reference to the kernel instance.
Kernel::KernelCore& Kernel();