summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/program_metadata.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-06-05 06:20:26 +0200
committerZach Hilman <zachhilman@gmail.com>2019-06-05 06:20:26 +0200
commitb550a01f743c6324ce3174093d1314eaf2c8ef54 (patch)
tree46d9d027a0e8cfc1bf5851f753df3d287db23807 /src/core/file_sys/program_metadata.h
parentpartition_data_manager: Remove KIP processing and use FileSys (diff)
downloadyuzu-b550a01f743c6324ce3174093d1314eaf2c8ef54.tar
yuzu-b550a01f743c6324ce3174093d1314eaf2c8ef54.tar.gz
yuzu-b550a01f743c6324ce3174093d1314eaf2c8ef54.tar.bz2
yuzu-b550a01f743c6324ce3174093d1314eaf2c8ef54.tar.lz
yuzu-b550a01f743c6324ce3174093d1314eaf2c8ef54.tar.xz
yuzu-b550a01f743c6324ce3174093d1314eaf2c8ef54.tar.zst
yuzu-b550a01f743c6324ce3174093d1314eaf2c8ef54.zip
Diffstat (limited to 'src/core/file_sys/program_metadata.h')
-rw-r--r--src/core/file_sys/program_metadata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/program_metadata.h b/src/core/file_sys/program_metadata.h
index 7de5b9cf9..43bf2820a 100644
--- a/src/core/file_sys/program_metadata.h
+++ b/src/core/file_sys/program_metadata.h
@@ -46,6 +46,11 @@ public:
Loader::ResultStatus Load(VirtualFile file);
+ // Load from parameters instead of NPDM file, used for KIP
+ void LoadManual(bool is_64_bit, ProgramAddressSpaceType address_space, u8 main_thread_prio,
+ u8 main_thread_core, u32 main_thread_stack_size, u64 title_id,
+ u64 filesystem_permissions, KernelCapabilityDescriptors capabilities);
+
bool Is64BitProgram() const;
ProgramAddressSpaceType GetAddressSpaceType() const;
u8 GetMainThreadPriority() const;