summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/program_metadata.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-14 15:16:46 +0200
committerGitHub <noreply@github.com>2019-07-14 15:16:46 +0200
commit4882c058fd4cab4a327f6ad106c217c0d8ce2011 (patch)
treecd2021c0de2f077415959e4841c5aaea47bf0670 /src/core/file_sys/program_metadata.cpp
parentMerge pull request #2692 from ReinUsesLisp/tlds-f16 (diff)
parentRemove unicorn mappings/unmappings (diff)
downloadyuzu-4882c058fd4cab4a327f6ad106c217c0d8ce2011.tar
yuzu-4882c058fd4cab4a327f6ad106c217c0d8ce2011.tar.gz
yuzu-4882c058fd4cab4a327f6ad106c217c0d8ce2011.tar.bz2
yuzu-4882c058fd4cab4a327f6ad106c217c0d8ce2011.tar.lz
yuzu-4882c058fd4cab4a327f6ad106c217c0d8ce2011.tar.xz
yuzu-4882c058fd4cab4a327f6ad106c217c0d8ce2011.tar.zst
yuzu-4882c058fd4cab4a327f6ad106c217c0d8ce2011.zip
Diffstat (limited to 'src/core/file_sys/program_metadata.cpp')
-rw-r--r--src/core/file_sys/program_metadata.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/program_metadata.cpp b/src/core/file_sys/program_metadata.cpp
index eb76174c5..7310b3602 100644
--- a/src/core/file_sys/program_metadata.cpp
+++ b/src/core/file_sys/program_metadata.cpp
@@ -94,6 +94,10 @@ u64 ProgramMetadata::GetFilesystemPermissions() const {
return aci_file_access.permissions;
}
+u32 ProgramMetadata::GetSystemResourceSize() const {
+ return npdm_header.system_resource_size;
+}
+
const ProgramMetadata::KernelCapabilityDescriptors& ProgramMetadata::GetKernelCapabilities() const {
return aci_kernel_capabilities;
}