diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-16 00:34:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 00:34:02 +0200 |
commit | 9b21fbd1eb6829c5708806218b4c46818ea0e22e (patch) | |
tree | 04ec4974cbf020c037ca6bedfcc84034db4bd390 /src/core/file_sys/control_metadata.cpp | |
parent | Merge pull request #1499 from lioncash/nro (diff) | |
parent | aoc: Read DLC base title ID from RegisteredCache (diff) | |
download | yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar.gz yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar.bz2 yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar.lz yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar.xz yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar.zst yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.zip |
Diffstat (limited to 'src/core/file_sys/control_metadata.cpp')
-rw-r--r-- | src/core/file_sys/control_metadata.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp index 5b1177a03..6bb588080 100644 --- a/src/core/file_sys/control_metadata.cpp +++ b/src/core/file_sys/control_metadata.cpp @@ -56,6 +56,10 @@ u64 NACP::GetTitleId() const { return raw->title_id; } +u64 NACP::GetDLCBaseTitleId() const { + return raw->dlc_base_title_id; +} + std::string NACP::GetVersionString() const { return Common::StringFromFixedZeroTerminatedBuffer(raw->version_string.data(), 0x10); } |