summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-24 10:47:53 -0400
committerGravatar Lioncash2018-04-24 12:01:30 -0400
commit72b497e8766fe1b75195da80967ab890f90eeb2b (patch)
treefc99ef09a06bf3ccc45bf7f3d62c5a50db0733f2 /src
parentnvdrv: Move logging macros over to new fmt-compatible ones (diff)
downloadyuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar.gz
yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.tar.xz
yuzu-72b497e8766fe1b75195da80967ab890f90eeb2b.zip
nvflinger: Move logging macros over to new fmt-compatible ones
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.cpp4
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp2
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) {
23 buffer.igbp_buffer = igbp_buffer; 23 buffer.igbp_buffer = igbp_buffer;
24 buffer.status = Buffer::Status::Free; 24 buffer.status = Buffer::Status::Free;
25 25
26 LOG_WARNING(Service, "Adding graphics buffer %u", slot); 26 NGLOG_WARNING(Service, "Adding graphics buffer {}", slot);
27 27
28 queue.emplace_back(buffer); 28 queue.emplace_back(buffer);
29 29
@@ -94,7 +94,7 @@ void BufferQueue::ReleaseBuffer(u32 slot) {
94} 94}
95 95
96u32 BufferQueue::Query(QueryType type) { 96u32 BufferQueue::Query(QueryType type) {
97 LOG_WARNING(Service, "(STUBBED) called type=%u", static_cast<u32>(type)); 97 NGLOG_WARNING(Service, "(STUBBED) called type={}", static_cast<u32>(type));
98 switch (type) { 98 switch (type) {
99 case QueryType::NativeWindowFormat: 99 case QueryType::NativeWindowFormat:
100 // TODO(Subv): Use an enum for this 100 // 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() {
48} 48}
49 49
50u64 NVFlinger::OpenDisplay(const std::string& name) { 50u64 NVFlinger::OpenDisplay(const std::string& name) {
51 LOG_WARNING(Service, "Opening display %s", name.c_str()); 51 NGLOG_WARNING(Service, "Opening display {}", name);
52 52
53 // TODO(Subv): Currently we only support the Default display. 53 // TODO(Subv): Currently we only support the Default display.
54 ASSERT(name == "Default"); 54 ASSERT(name == "Default");