diff options
| author | 2018-04-24 10:53:44 -0400 | |
|---|---|---|
| committer | 2018-04-24 12:01:31 -0400 | |
| commit | 62c69f4a1e6367f0400cf5d3ea8ec640b232b159 (patch) | |
| tree | 5271a206180604209c7dce3fba0b95e64d76ce5f | |
| parent | sm: Move logging macros over to new fmt-compatible ones (diff) | |
| download | yuzu-62c69f4a1e6367f0400cf5d3ea8ec640b232b159.tar.gz yuzu-62c69f4a1e6367f0400cf5d3ea8ec640b232b159.tar.xz yuzu-62c69f4a1e6367f0400cf5d3ea8ec640b232b159.zip | |
sockets: Move logging macros over to new fmt-compatible ones
| -rw-r--r-- | src/core/hle/service/sockets/bsd.cpp | 13 | ||||
| -rw-r--r-- | src/core/hle/service/sockets/sfdnsres.cpp | 2 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp index f99809bed..ab909fdaa 100644 --- a/src/core/hle/service/sockets/bsd.cpp +++ b/src/core/hle/service/sockets/bsd.cpp | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | namespace Service::Sockets { | 8 | namespace Service::Sockets { |
| 9 | 9 | ||
| 10 | void BSD::RegisterClient(Kernel::HLERequestContext& ctx) { | 10 | void BSD::RegisterClient(Kernel::HLERequestContext& ctx) { |
| 11 | LOG_WARNING(Service, "(STUBBED) called"); | 11 | NGLOG_WARNING(Service, "(STUBBED) called"); |
| 12 | 12 | ||
| 13 | IPC::ResponseBuilder rb{ctx, 3}; | 13 | IPC::ResponseBuilder rb{ctx, 3}; |
| 14 | 14 | ||
| @@ -17,7 +17,7 @@ void BSD::RegisterClient(Kernel::HLERequestContext& ctx) { | |||
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | void BSD::StartMonitoring(Kernel::HLERequestContext& ctx) { | 19 | void BSD::StartMonitoring(Kernel::HLERequestContext& ctx) { |
| 20 | LOG_WARNING(Service, "(STUBBED) called"); | 20 | NGLOG_WARNING(Service, "(STUBBED) called"); |
| 21 | 21 | ||
| 22 | IPC::ResponseBuilder rb{ctx, 3}; | 22 | IPC::ResponseBuilder rb{ctx, 3}; |
| 23 | 23 | ||
| @@ -32,7 +32,8 @@ void BSD::Socket(Kernel::HLERequestContext& ctx) { | |||
| 32 | u32 type = rp.Pop<u32>(); | 32 | u32 type = rp.Pop<u32>(); |
| 33 | u32 protocol = rp.Pop<u32>(); | 33 | u32 protocol = rp.Pop<u32>(); |
| 34 | 34 | ||
| 35 | LOG_WARNING(Service, "(STUBBED) called domain=%u type=%u protocol=%u", domain, type, protocol); | 35 | NGLOG_WARNING(Service, "(STUBBED) called domain={} type={} protocol={}", domain, type, |
| 36 | protocol); | ||
| 36 | 37 | ||
| 37 | u32 fd = next_fd++; | 38 | u32 fd = next_fd++; |
| 38 | 39 | ||
| @@ -44,7 +45,7 @@ void BSD::Socket(Kernel::HLERequestContext& ctx) { | |||
| 44 | } | 45 | } |
| 45 | 46 | ||
| 46 | void BSD::Connect(Kernel::HLERequestContext& ctx) { | 47 | void BSD::Connect(Kernel::HLERequestContext& ctx) { |
| 47 | LOG_WARNING(Service, "(STUBBED) called"); | 48 | NGLOG_WARNING(Service, "(STUBBED) called"); |
| 48 | 49 | ||
| 49 | IPC::ResponseBuilder rb{ctx, 4}; | 50 | IPC::ResponseBuilder rb{ctx, 4}; |
| 50 | 51 | ||
| @@ -54,7 +55,7 @@ void BSD::Connect(Kernel::HLERequestContext& ctx) { | |||
| 54 | } | 55 | } |
| 55 | 56 | ||
| 56 | void BSD::SendTo(Kernel::HLERequestContext& ctx) { | 57 | void BSD::SendTo(Kernel::HLERequestContext& ctx) { |
| 57 | LOG_WARNING(Service, "(STUBBED) called"); | 58 | NGLOG_WARNING(Service, "(STUBBED) called"); |
| 58 | 59 | ||
| 59 | IPC::ResponseBuilder rb{ctx, 4}; | 60 | IPC::ResponseBuilder rb{ctx, 4}; |
| 60 | 61 | ||
| @@ -64,7 +65,7 @@ void BSD::SendTo(Kernel::HLERequestContext& ctx) { | |||
| 64 | } | 65 | } |
| 65 | 66 | ||
| 66 | void BSD::Close(Kernel::HLERequestContext& ctx) { | 67 | void BSD::Close(Kernel::HLERequestContext& ctx) { |
| 67 | LOG_WARNING(Service, "(STUBBED) called"); | 68 | NGLOG_WARNING(Service, "(STUBBED) called"); |
| 68 | 69 | ||
| 69 | IPC::ResponseBuilder rb{ctx, 4}; | 70 | IPC::ResponseBuilder rb{ctx, 4}; |
| 70 | 71 | ||
diff --git a/src/core/hle/service/sockets/sfdnsres.cpp b/src/core/hle/service/sockets/sfdnsres.cpp index d235c4cfd..f377e59f2 100644 --- a/src/core/hle/service/sockets/sfdnsres.cpp +++ b/src/core/hle/service/sockets/sfdnsres.cpp | |||
| @@ -10,7 +10,7 @@ namespace Service::Sockets { | |||
| 10 | void SFDNSRES::GetAddrInfo(Kernel::HLERequestContext& ctx) { | 10 | void SFDNSRES::GetAddrInfo(Kernel::HLERequestContext& ctx) { |
| 11 | IPC::RequestParser rp{ctx}; | 11 | IPC::RequestParser rp{ctx}; |
| 12 | 12 | ||
| 13 | LOG_WARNING(Service, "(STUBBED) called"); | 13 | NGLOG_WARNING(Service, "(STUBBED) called"); |
| 14 | 14 | ||
| 15 | IPC::ResponseBuilder rb{ctx, 2}; | 15 | IPC::ResponseBuilder rb{ctx, 2}; |
| 16 | 16 | ||