summaryrefslogtreecommitdiffstats
path: root/src/core/loader/ncch.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-18 02:02:57 +0100
committerbunnei <bunneidev@gmail.com>2014-12-18 02:02:57 +0100
commit94a103a00080f3f8f9ca9348ec0c5e819c6313e1 (patch)
tree9e698ba00993a4aff1df4d60f9fcf3cf135ee76c /src/core/loader/ncch.h
parentMerge pull request #293 from lioncash/sops (diff)
parentFilesystem/Archives: Implemented the SaveData archive (diff)
downloadyuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.tar
yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.tar.gz
yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.tar.bz2
yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.tar.lz
yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.tar.xz
yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.tar.zst
yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/ncch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h
index 03116add8..2fe2a7d82 100644
--- a/src/core/loader/ncch.h
+++ b/src/core/loader/ncch.h
@@ -191,6 +191,12 @@ public:
*/
ResultStatus ReadRomFS(std::vector<u8>& buffer) const override;
+ /*
+ * Gets the program id from the NCCH header
+ * @return u64 Program id
+ */
+ u64 GetProgramId() const;
+
private:
/**