diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-24 16:47:53 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-24 18:01:30 +0200 |
commit | 72b497e8766fe1b75195da80967ab890f90eeb2b (patch) | |
tree | fc99ef09a06bf3ccc45bf7f3d62c5a50db0733f2 /src/core | |
parent | nvdrv: Move logging macros over to new fmt-compatible ones (diff) | |
download | yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar.gz yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar.bz2 yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar.lz yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar.xz yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar.zst yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp index e4ff2e267..49e88b394 100644 --- a/src/core/hle/service/nvflinger/buffer_queue.cpp +++ b/src/core/hle/service/nvflinger/buffer_queue.cpp @@ -23,7 +23,7 @@ void BufferQueue::SetPreallocatedBuffer(u32 slot, IGBPBuffer& igbp_buffer) { buffer.igbp_buffer = igbp_buffer; buffer.status = Buffer::Status::Free; - LOG_WARNING(Service, "Adding graphics buffer %u", slot); + NGLOG_WARNING(Service, "Adding graphics buffer {}", slot); queue.emplace_back(buffer); @@ -94,7 +94,7 @@ void BufferQueue::ReleaseBuffer(u32 slot) { } u32 BufferQueue::Query(QueryType type) { - LOG_WARNING(Service, "(STUBBED) called type=%u", static_cast<u32>(type)); + NGLOG_WARNING(Service, "(STUBBED) called type={}", static_cast<u32>(type)); switch (type) { case QueryType::NativeWindowFormat: // TODO(Subv): Use an enum for this diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index a99ebc8e6..3481e48d0 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -48,7 +48,7 @@ NVFlinger::~NVFlinger() { } u64 NVFlinger::OpenDisplay(const std::string& name) { - LOG_WARNING(Service, "Opening display %s", name.c_str()); + NGLOG_WARNING(Service, "Opening display {}", name); // TODO(Subv): Currently we only support the Default display. ASSERT(name == "Default"); |