diff options
author | bunnei <bunneidev@gmail.com> | 2018-05-02 21:24:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 21:24:41 +0200 |
commit | 1147db9dd1026672b96ca9d548239cace85ce952 (patch) | |
tree | edfd9282300ba280bf51ba8a99f8a727122a31c0 /src/core/loader | |
parent | Merge pull request #430 from lioncash/vec (diff) | |
parent | general: Make formatting of logged hex values more straightforward (diff) | |
download | yuzu-1147db9dd1026672b96ca9d548239cace85ce952.tar yuzu-1147db9dd1026672b96ca9d548239cace85ce952.tar.gz yuzu-1147db9dd1026672b96ca9d548239cace85ce952.tar.bz2 yuzu-1147db9dd1026672b96ca9d548239cace85ce952.tar.lz yuzu-1147db9dd1026672b96ca9d548239cace85ce952.tar.xz yuzu-1147db9dd1026672b96ca9d548239cace85ce952.tar.zst yuzu-1147db9dd1026672b96ca9d548239cace85ce952.zip |
Diffstat (limited to 'src/core/loader')
-rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 6 | ||||
-rw-r--r-- | src/core/loader/nso.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index 40a81025f..b01b2caf6 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp @@ -132,7 +132,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load( const VAddr load_addr = next_load_addr; next_load_addr = AppLoader_NSO::LoadModule(path, load_addr); if (next_load_addr) { - NGLOG_DEBUG(Loader, "loaded module {} @ {:#X}", module, load_addr); + NGLOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", module, load_addr); } else { next_load_addr = load_addr; } @@ -176,8 +176,8 @@ ResultStatus AppLoader_DeconstructedRomDirectory::ReadRomFS( offset = 0; size = romfs_file->GetSize(); - NGLOG_DEBUG(Loader, "RomFS offset: {:#018X}", offset); - NGLOG_DEBUG(Loader, "RomFS size: {:#018X}", size); + NGLOG_DEBUG(Loader, "RomFS offset: 0x{:016X}", offset); + NGLOG_DEBUG(Loader, "RomFS size: 0x{:016X}", size); // Reset read pointer file.Seek(0, SEEK_SET); diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 138883cc9..01be9e217 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -158,7 +158,7 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) { // Load module LoadModule(filepath, Memory::PROCESS_IMAGE_VADDR); - NGLOG_DEBUG(Loader, "loaded module {} @ {:#X}", filepath, Memory::PROCESS_IMAGE_VADDR); + NGLOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", filepath, Memory::PROCESS_IMAGE_VADDR); process->svc_access_mask.set(); process->address_mappings = default_address_mappings; |