summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-04 06:29:15 +0100
committerLioncash <mathew1800@gmail.com>2018-12-04 07:50:30 +0100
commit312690b4509a6e5c5e97b667136aea7693e52ca0 (patch)
tree81c05c9ff48b02023c713d5ed57fc6799e27b274 /src/core/hle/kernel/process.cpp
parentMerge pull request #1852 from VPeruS/fix-format-string (diff)
downloadyuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar.gz
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar.bz2
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar.lz
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar.xz
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar.zst
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.zip
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index 7ca538401..4ecb8c926 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -44,6 +44,10 @@ SharedPtr<Process> Process::Create(KernelCore& kernel, std::string&& name) {
return process;
}
+SharedPtr<ResourceLimit> Process::GetResourceLimit() const {
+ return resource_limit;
+}
+
void Process::LoadFromMetadata(const FileSys::ProgramMetadata& metadata) {
program_id = metadata.GetTitleID();
is_64bit_process = metadata.Is64BitProgram();