summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/control_metadata.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-16 00:34:02 +0200
committerGitHub <noreply@github.com>2018-10-16 00:34:02 +0200
commit9b21fbd1eb6829c5708806218b4c46818ea0e22e (patch)
tree04ec4974cbf020c037ca6bedfcc84034db4bd390 /src/core/file_sys/control_metadata.cpp
parentMerge pull request #1499 from lioncash/nro (diff)
parentaoc: Read DLC base title ID from RegisteredCache (diff)
downloadyuzu-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.cpp4
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);
}