diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-28 01:16:43 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-28 01:16:45 +0100 |
commit | 9aa68212d9c2f803d316a89e70318700f44f6c81 (patch) | |
tree | b61ff0322c4b3adb5582de5476f5d893e15c58cd /src/core/file_sys/program_metadata.cpp | |
parent | Merge pull request #1951 from Tinob/master (diff) | |
download | yuzu-9aa68212d9c2f803d316a89e70318700f44f6c81.tar yuzu-9aa68212d9c2f803d316a89e70318700f44f6c81.tar.gz yuzu-9aa68212d9c2f803d316a89e70318700f44f6c81.tar.bz2 yuzu-9aa68212d9c2f803d316a89e70318700f44f6c81.tar.lz yuzu-9aa68212d9c2f803d316a89e70318700f44f6c81.tar.xz yuzu-9aa68212d9c2f803d316a89e70318700f44f6c81.tar.zst yuzu-9aa68212d9c2f803d316a89e70318700f44f6c81.zip |
Diffstat (limited to 'src/core/file_sys/program_metadata.cpp')
-rw-r--r-- | src/core/file_sys/program_metadata.cpp | 10 |
1 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 e90c8c2de..d3e00437f 100644 --- a/src/core/file_sys/program_metadata.cpp +++ b/src/core/file_sys/program_metadata.cpp @@ -92,16 +92,20 @@ void ProgramMetadata::Print() const { LOG_DEBUG(Service_FS, " > 64-bit instructions: {}", npdm_header.has_64_bit_instructions ? "YES" : "NO"); - auto address_space = "Unknown"; + const char* address_space = "Unknown"; switch (npdm_header.address_space_type) { case ProgramAddressSpaceType::Is36Bit: + address_space = "64-bit (36-bit address space)"; + break; case ProgramAddressSpaceType::Is39Bit: - address_space = "64-bit"; + address_space = "64-bit (39-bit address space)"; break; case ProgramAddressSpaceType::Is32Bit: - case ProgramAddressSpaceType::Is32BitNoMap: address_space = "32-bit"; break; + case ProgramAddressSpaceType::Is32BitNoMap: + address_space = "32-bit (no map region)"; + break; } LOG_DEBUG(Service_FS, " > Address space: {}\n", address_space); |