diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-25 04:44:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 04:44:18 +0200 |
commit | 6c9ca8cbca1502346c0d22e141f21054087e6a96 (patch) | |
tree | 90382480815cdcd710d343ae8438371023f0b10d /src/core/loader/nso.cpp | |
parent | Merge pull request #386 from Subv/gpu_query (diff) | |
parent | loader: Move old logging macros over to new fmt-capable ones (diff) | |
download | yuzu-6c9ca8cbca1502346c0d22e141f21054087e6a96.tar yuzu-6c9ca8cbca1502346c0d22e141f21054087e6a96.tar.gz yuzu-6c9ca8cbca1502346c0d22e141f21054087e6a96.tar.bz2 yuzu-6c9ca8cbca1502346c0d22e141f21054087e6a96.tar.lz yuzu-6c9ca8cbca1502346c0d22e141f21054087e6a96.tar.xz yuzu-6c9ca8cbca1502346c0d22e141f21054087e6a96.tar.zst yuzu-6c9ca8cbca1502346c0d22e141f21054087e6a96.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/nso.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 962bed2ab..1842bae20 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -73,7 +73,7 @@ static std::vector<u8> ReadSegment(FileUtil::IOFile& file, const NsoSegmentHeade file.Seek(header.offset, SEEK_SET); if (compressed_size != file.ReadBytes(compressed_data.data(), compressed_size)) { - LOG_CRITICAL(Loader, "Failed to read %d NSO LZ4 compressed bytes", compressed_size); + NGLOG_CRITICAL(Loader, "Failed to read {} NSO LZ4 compressed bytes", compressed_size); return {}; } @@ -158,8 +158,7 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) { // Load module LoadModule(filepath, Memory::PROCESS_IMAGE_VADDR); - LOG_DEBUG(Loader, "loaded module %s @ 0x%" PRIx64, filepath.c_str(), - Memory::PROCESS_IMAGE_VADDR); + NGLOG_DEBUG(Loader, "loaded module {} @ {:#X}", filepath, Memory::PROCESS_IMAGE_VADDR); process->svc_access_mask.set(); process->address_mappings = default_address_mappings; |