diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-18 02:02:57 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-18 02:02:57 +0100 |
commit | 94a103a00080f3f8f9ca9348ec0c5e819c6313e1 (patch) | |
tree | 9e698ba00993a4aff1df4d60f9fcf3cf135ee76c /src/core/loader/ncch.cpp | |
parent | Merge pull request #293 from lioncash/sops (diff) | |
parent | Filesystem/Archives: Implemented the SaveData archive (diff) | |
download | yuzu-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 'src/core/loader/ncch.cpp')
-rw-r--r-- | src/core/loader/ncch.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp index ba9ba00c0..4d23656ec 100644 --- a/src/core/loader/ncch.cpp +++ b/src/core/loader/ncch.cpp @@ -315,4 +315,8 @@ ResultStatus AppLoader_NCCH::ReadRomFS(std::vector<u8>& buffer) const { return ResultStatus::Error; } +u64 AppLoader_NCCH::GetProgramId() const { + return *reinterpret_cast<u64 const*>(&ncch_header.program_id[0]); +} + } // namespace Loader |