diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-23 02:09:32 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-24 23:24:50 +0200 |
commit | 75603b005bb9163810a02376cd33854cd1b16ef9 (patch) | |
tree | ebb28bd5ff9e0c4a57c53ee5ea6a72ce75023103 /src/core/file_sys | |
parent | Added glObjectLabels for renderdoc for textures and shader programs (#1384) (diff) | |
download | yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.gz yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.bz2 yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.lz yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.xz yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.tar.zst yuzu-75603b005bb9163810a02376cd33854cd1b16ef9.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/program_metadata.cpp | 4 | ||||
-rw-r--r-- | src/core/file_sys/program_metadata.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/core/file_sys/program_metadata.cpp b/src/core/file_sys/program_metadata.cpp index 02319ce0f..8903ed1d3 100644 --- a/src/core/file_sys/program_metadata.cpp +++ b/src/core/file_sys/program_metadata.cpp @@ -83,10 +83,12 @@ void ProgramMetadata::Print() const { auto address_space = "Unknown"; switch (npdm_header.address_space_type) { - case ProgramAddressSpaceType::Is64Bit: + case ProgramAddressSpaceType::Is36Bit: + case ProgramAddressSpaceType::Is39Bit: address_space = "64-bit"; break; case ProgramAddressSpaceType::Is32Bit: + case ProgramAddressSpaceType::Is32BitNoMap: address_space = "32-bit"; break; } diff --git a/src/core/file_sys/program_metadata.h b/src/core/file_sys/program_metadata.h index 1143e36c4..e4470d6f0 100644 --- a/src/core/file_sys/program_metadata.h +++ b/src/core/file_sys/program_metadata.h @@ -17,8 +17,10 @@ enum class ResultStatus : u16; namespace FileSys { enum class ProgramAddressSpaceType : u8 { - Is64Bit = 1, - Is32Bit = 2, + Is32Bit = 0, + Is36Bit = 1, + Is32BitNoMap = 2, + Is39Bit = 3, }; enum class ProgramFilePermission : u64 { |