summaryrefslogtreecommitdiffstats
path: root/src/core/loader/linker.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-25 02:17:03 +0200
committerLioncash <mathew1800@gmail.com>2018-04-25 02:22:32 +0200
commitcc2e14ec2a2a0ae5217244237b112fdd1b464d6e (patch)
tree90382480815cdcd710d343ae8438371023f0b10d /src/core/loader/linker.cpp
parentMerge pull request #386 from Subv/gpu_query (diff)
downloadyuzu-cc2e14ec2a2a0ae5217244237b112fdd1b464d6e.tar
yuzu-cc2e14ec2a2a0ae5217244237b112fdd1b464d6e.tar.gz
yuzu-cc2e14ec2a2a0ae5217244237b112fdd1b464d6e.tar.bz2
yuzu-cc2e14ec2a2a0ae5217244237b112fdd1b464d6e.tar.lz
yuzu-cc2e14ec2a2a0ae5217244237b112fdd1b464d6e.tar.xz
yuzu-cc2e14ec2a2a0ae5217244237b112fdd1b464d6e.tar.zst
yuzu-cc2e14ec2a2a0ae5217244237b112fdd1b464d6e.zip
Diffstat (limited to 'src/core/loader/linker.cpp')
-rw-r--r--src/core/loader/linker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/linker.cpp b/src/core/loader/linker.cpp
index 69198e3e3..c7be5f265 100644
--- a/src/core/loader/linker.cpp
+++ b/src/core/loader/linker.cpp
@@ -84,7 +84,7 @@ void Linker::WriteRelocations(std::vector<u8>& program_image, const std::vector<
}
break;
default:
- LOG_CRITICAL(Loader, "Unknown relocation type: %d", static_cast<int>(rela.type));
+ NGLOG_CRITICAL(Loader, "Unknown relocation type: {}", static_cast<int>(rela.type));
break;
}
}
@@ -141,7 +141,7 @@ void Linker::ResolveImports() {
if (search != exports.end()) {
Memory::Write64(import.second.ea, search->second + import.second.addend);
} else {
- LOG_ERROR(Loader, "Unresolved import: %s", import.first.c_str());
+ NGLOG_ERROR(Loader, "Unresolved import: {}", import.first);
}
}
}