diff options
| author | 2014-12-17 20:02:57 -0500 | |
|---|---|---|
| committer | 2014-12-17 20:02:57 -0500 | |
| 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.gz yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.tar.xz yuzu-94a103a00080f3f8f9ca9348ec0c5e819c6313e1.zip | |
Merge pull request #288 from Subv/savedata_stuff
FS_U: Implemented the SaveData archive
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 { | |||
| 315 | return ResultStatus::Error; | 315 | return ResultStatus::Error; |
| 316 | } | 316 | } |
| 317 | 317 | ||
| 318 | u64 AppLoader_NCCH::GetProgramId() const { | ||
| 319 | return *reinterpret_cast<u64 const*>(&ncch_header.program_id[0]); | ||
| 320 | } | ||
| 321 | |||
| 318 | } // namespace Loader | 322 | } // namespace Loader |