From a7a3718fceb2a46cf821ac8ec51e97722d70db5c Mon Sep 17 00:00:00 2001 From: NarcolepticK Date: Tue, 19 Jun 2018 19:30:59 -0400 Subject: [PATCH] service/csnd_snd: Migrate logging macros --- src/core/hle/service/csnd_snd.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/hle/service/csnd_snd.cpp b/src/core/hle/service/csnd_snd.cpp index 9471ec1ef..b409a7f45 100644 --- a/src/core/hle/service/csnd_snd.cpp +++ b/src/core/hle/service/csnd_snd.cpp @@ -54,7 +54,7 @@ static void Initialize(Interface* self) { cmd_buff[3] = Kernel::g_handle_table.Create(mutex).Unwrap(); cmd_buff[4] = Kernel::g_handle_table.Create(shared_memory).Unwrap(); - LOG_WARNING(Service_CSND, "(STUBBED) called"); + NGLOG_WARNING(Service_CSND, "(STUBBED) called"); } /** @@ -71,7 +71,7 @@ static void Shutdown(Interface* self) { mutex = nullptr; cmd_buff[1] = RESULT_SUCCESS.raw; - LOG_WARNING(Service_CSND, "(STUBBED) called"); + NGLOG_WARNING(Service_CSND, "(STUBBED) called"); } /** @@ -88,7 +88,7 @@ static void ExecuteCommands(Interface* self) { if (shared_memory == nullptr) { cmd_buff[1] = 1; - LOG_ERROR(Service_CSND, "called, shared memory not allocated"); + NGLOG_ERROR(Service_CSND, "called, shared memory not allocated"); return; } @@ -102,7 +102,7 @@ static void ExecuteCommands(Interface* self) { cmd_buff[1] = RESULT_SUCCESS.raw; - LOG_WARNING(Service_CSND, "(STUBBED) called, addr=0x%08X", addr); + NGLOG_WARNING(Service_CSND, "(STUBBED) called, addr=0x{:08X}", addr); } /** @@ -117,7 +117,7 @@ static void AcquireSoundChannels(Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); cmd_buff[1] = RESULT_SUCCESS.raw; cmd_buff[2] = 0xFFFFFF00; - LOG_WARNING(Service_CSND, "(STUBBED) called"); + NGLOG_WARNING(Service_CSND, "(STUBBED) called"); } const Interface::FunctionInfo FunctionTable[] = {