diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-24 16:33:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-24 18:01:27 +0200 |
commit | 285d8d8b7d6d22202f87d60f67768be69b7f0bd1 (patch) | |
tree | 6675c1f83cf42e72ff7fb72ddad05cbc780d9e80 /src/core/hle/service/nvdrv/devices/nvmap.cpp | |
parent | ns: Move logging macros over to new fmt-compatible ones (diff) | |
download | yuzu-285d8d8b7d6d22202f87d60f67768be69b7f0bd1.tar yuzu-285d8d8b7d6d22202f87d60f67768be69b7f0bd1.tar.gz yuzu-285d8d8b7d6d22202f87d60f67768be69b7f0bd1.tar.bz2 yuzu-285d8d8b7d6d22202f87d60f67768be69b7f0bd1.tar.lz yuzu-285d8d8b7d6d22202f87d60f67768be69b7f0bd1.tar.xz yuzu-285d8d8b7d6d22202f87d60f67768be69b7f0bd1.tar.zst yuzu-285d8d8b7d6d22202f87d60f67768be69b7f0bd1.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvmap.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvmap.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp index dcf079d91..11df8849d 100644 --- a/src/core/hle/service/nvdrv/devices/nvmap.cpp +++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp @@ -49,7 +49,7 @@ u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) { u32 handle = next_handle++; handles[handle] = std::move(object); - LOG_DEBUG(Service_NVDRV, "size=0x%08X", params.size); + NGLOG_DEBUG(Service_NVDRV, "size={:#010X}", params.size); params.handle = handle; @@ -70,7 +70,7 @@ u32 nvmap::IocAlloc(const std::vector<u8>& input, std::vector<u8>& output) { object->addr = params.addr; object->status = Object::Status::Allocated; - LOG_DEBUG(Service_NVDRV, "called, addr=0x%" PRIx64, params.addr); + NGLOG_DEBUG(Service_NVDRV, "called, addr={:X}", params.addr); std::memcpy(output.data(), ¶ms, sizeof(params)); return 0; @@ -80,7 +80,7 @@ u32 nvmap::IocGetId(const std::vector<u8>& input, std::vector<u8>& output) { IocGetIdParams params; std::memcpy(¶ms, input.data(), sizeof(params)); - LOG_WARNING(Service_NVDRV, "called"); + NGLOG_WARNING(Service_NVDRV, "called"); auto object = GetObject(params.handle); ASSERT(object); @@ -95,7 +95,7 @@ u32 nvmap::IocFromId(const std::vector<u8>& input, std::vector<u8>& output) { IocFromIdParams params; std::memcpy(¶ms, input.data(), sizeof(params)); - LOG_WARNING(Service_NVDRV, "(STUBBED) called"); + NGLOG_WARNING(Service_NVDRV, "(STUBBED) called"); auto itr = std::find_if(handles.begin(), handles.end(), [&](const auto& entry) { return entry.second->id == params.id; }); @@ -114,7 +114,7 @@ u32 nvmap::IocParam(const std::vector<u8>& input, std::vector<u8>& output) { IocParamParams params; std::memcpy(¶ms, input.data(), sizeof(params)); - LOG_WARNING(Service_NVDRV, "(STUBBED) called type=%u", params.type); + NGLOG_WARNING(Service_NVDRV, "(STUBBED) called type={}", params.type); auto object = GetObject(params.handle); ASSERT(object); |