Explorar o código

pl_u: Remove printf specifier in log call in a log call in GetSharedFontInOrderOfPriority()

This can just use the fmt specifiers and be type-agnostic.
Lioncash %!s(int64=8) %!d(string=hai) anos
pai
achega
68c1ffdd1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/service/ns/pl_u.cpp

+ 1 - 1
src/core/hle/service/ns/pl_u.cpp

@@ -119,7 +119,7 @@ void PL_U::GetSharedMemoryNativeHandle(Kernel::HLERequestContext& ctx) {
 void PL_U::GetSharedFontInOrderOfPriority(Kernel::HLERequestContext& ctx) {
     IPC::RequestParser rp{ctx};
     const u64 language_code{rp.Pop<u64>()}; // TODO(ogniK): Find out what this is used for
-    LOG_DEBUG(Service_NS, "called, language_code=%lx", language_code);
+    LOG_DEBUG(Service_NS, "called, language_code={:X}", language_code);
     IPC::ResponseBuilder rb{ctx, 4};
     std::vector<u32> font_codes;
     std::vector<u32> font_offsets;