diff options
author | Michael Scire <SciresM@gmail.com> | 2019-05-23 09:55:56 +0200 |
---|---|---|
committer | Michael Scire <SciresM@gmail.com> | 2019-05-23 09:55:56 +0200 |
commit | 7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2 (patch) | |
tree | 020e199743748138d062cd07c40f13f028c06bef /src/core/file_sys | |
parent | shader/decode/memory: Remove left in debug pragma (diff) | |
download | yuzu-7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2.tar yuzu-7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2.tar.gz yuzu-7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2.tar.bz2 yuzu-7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2.tar.lz yuzu-7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2.tar.xz yuzu-7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2.tar.zst yuzu-7dbf4c1ae5fbe6287575e7ac1b0f93dbb16843c2.zip |
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 60ea9ad12..04da30825 100644 --- a/src/core/file_sys/control_metadata.cpp +++ b/src/core/file_sys/control_metadata.cpp @@ -87,6 +87,10 @@ u64 NACP::GetDefaultJournalSaveSize() const { return raw.user_account_save_data_journal_size; } +u32 NACP::GetSupportedLanguages() const { + return raw.supported_languages; +} + std::vector<u8> NACP::GetRawBytes() const { std::vector<u8> out(sizeof(RawNACP)); std::memcpy(out.data(), &raw, sizeof(RawNACP)); diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h index 280710ddf..1be34ed55 100644 --- a/src/core/file_sys/control_metadata.h +++ b/src/core/file_sys/control_metadata.h @@ -109,6 +109,7 @@ public: std::string GetVersionString() const; u64 GetDefaultNormalSaveSize() const; u64 GetDefaultJournalSaveSize() const; + u32 GetSupportedLanguages() const; std::vector<u8> GetRawBytes() const; private: |