diff options
| author | 2018-10-15 18:34:02 -0400 | |
|---|---|---|
| committer | 2018-10-15 18:34:02 -0400 | |
| commit | 9b21fbd1eb6829c5708806218b4c46818ea0e22e (patch) | |
| tree | 04ec4974cbf020c037ca6bedfcc84034db4bd390 /src/core/file_sys | |
| parent | Merge pull request #1499 from lioncash/nro (diff) | |
| parent | aoc: Read DLC base title ID from RegisteredCache (diff) | |
| download | yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar.gz yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.tar.xz yuzu-9b21fbd1eb6829c5708806218b4c46818ea0e22e.zip | |
Merge pull request #1494 from DarkLordZach/aoc-signature-fixes
aoc: Fix various bugs in current AOC implementation
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/control_metadata.cpp | 4 | ||||
| -rw-r--r-- | src/core/file_sys/control_metadata.h | 1 |
2 files changed, 5 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 { | |||
| 56 | return raw->title_id; | 56 | return raw->title_id; |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | u64 NACP::GetDLCBaseTitleId() const { | ||
| 60 | return raw->dlc_base_title_id; | ||
| 61 | } | ||
| 62 | |||
| 59 | std::string NACP::GetVersionString() const { | 63 | std::string NACP::GetVersionString() const { |
| 60 | return Common::StringFromFixedZeroTerminatedBuffer(raw->version_string.data(), 0x10); | 64 | return Common::StringFromFixedZeroTerminatedBuffer(raw->version_string.data(), 0x10); |
| 61 | } | 65 | } |
diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h index 43d6f0719..141f7e056 100644 --- a/src/core/file_sys/control_metadata.h +++ b/src/core/file_sys/control_metadata.h | |||
| @@ -79,6 +79,7 @@ public: | |||
| 79 | std::string GetApplicationName(Language language = Language::Default) const; | 79 | std::string GetApplicationName(Language language = Language::Default) const; |
| 80 | std::string GetDeveloperName(Language language = Language::Default) const; | 80 | std::string GetDeveloperName(Language language = Language::Default) const; |
| 81 | u64 GetTitleId() const; | 81 | u64 GetTitleId() const; |
| 82 | u64 GetDLCBaseTitleId() const; | ||
| 82 | std::string GetVersionString() const; | 83 | std::string GetVersionString() const; |
| 83 | 84 | ||
| 84 | private: | 85 | private: |