diff options
author | bunnei <bunneidev@gmail.com> | 2018-12-28 01:58:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-28 01:58:36 +0100 |
commit | 19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f (patch) | |
tree | 7945224fc7f81cc431899ca023cbd56f5cf232e3 | |
parent | Merge pull request #1953 from lioncash/mem (diff) | |
parent | file_sys/program_metadata: Print out more descriptive address space descriptions (diff) | |
download | yuzu-19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f.tar yuzu-19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f.tar.gz yuzu-19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f.tar.bz2 yuzu-19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f.tar.lz yuzu-19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f.tar.xz yuzu-19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f.tar.zst yuzu-19bfbb28ced455ab1bbdbe63abde0c91c1d6c69f.zip |
Diffstat (limited to '')
-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); |