summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-23 02:09:32 +0200
committerLioncash <mathew1800@gmail.com>2018-09-24 23:24:50 +0200
commit75603b005bb9163810a02376cd33854cd1b16ef9 (patch)
treeebb28bd5ff9e0c4a57c53ee5ea6a72ce75023103 /src/core/hle/kernel/process.h
parentAdded glObjectLabels for renderdoc for textures and shader programs (#1384) (diff)
downloadyuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar
yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.gz
yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.bz2
yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.lz
yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.xz
yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.zst
yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.zip
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 04d74e572..adb03c228 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -17,6 +17,10 @@
#include "core/hle/kernel/thread.h"
#include "core/hle/kernel/vm_manager.h"
+namespace FileSys {
+class ProgramMetadata;
+}
+
namespace Kernel {
class KernelCore;
@@ -141,6 +145,14 @@ public:
return process_id;
}
+ /**
+ * Loads process-specifics configuration info with metadata provided
+ * by an executable.
+ *
+ * @param metadata The provided metadata to load process specific info.
+ */
+ void LoadFromMetadata(const FileSys::ProgramMetadata& metadata);
+
/// Title ID corresponding to the process
u64 program_id;