diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-29 16:54:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-29 16:54:39 +0200 |
commit | f7b69d61f2a871e8afcd9819b014e873f6e0b80d (patch) | |
tree | ab6fa797e0a0edd41cc84138ac56aaba0c5238fe /src/core/file_sys | |
parent | Merge pull request #1360 from FearlessTobi/port-3979 (diff) | |
parent | memory: Dehardcode the use of fixed memory range constants (diff) | |
download | yuzu-f7b69d61f2a871e8afcd9819b014e873f6e0b80d.tar yuzu-f7b69d61f2a871e8afcd9819b014e873f6e0b80d.tar.gz yuzu-f7b69d61f2a871e8afcd9819b014e873f6e0b80d.tar.bz2 yuzu-f7b69d61f2a871e8afcd9819b014e873f6e0b80d.tar.lz yuzu-f7b69d61f2a871e8afcd9819b014e873f6e0b80d.tar.xz yuzu-f7b69d61f2a871e8afcd9819b014e873f6e0b80d.tar.zst yuzu-f7b69d61f2a871e8afcd9819b014e873f6e0b80d.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 { |