VERY experimental Nintendo Switch 2 emulator
C++
nifm: Move logging macros over to new fmt-compatible ones
Lioncash3fdc96e690b2
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cppindex df1e7f8fea..eee92cfcde 100644--- a/src/core/hle/service/nifm/nifm.cpp+++ b/src/core/hle/service/nifm/nifm.cpp@@ -62,24 +62,24 @@ public:private:void GetRequestState(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service_NIFM, "(STUBBED) called");+ NGLOG_WARNING(Service_NIFM, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 3};rb.Push(RESULT_SUCCESS);rb.Push<u32>(0);}void GetResult(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service_NIFM, "(STUBBED) called");+ NGLOG_WARNING(Service_NIFM, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 2};rb.Push(RESULT_SUCCESS);}void GetSystemEventReadableHandles(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service_NIFM, "(STUBBED) called");+ NGLOG_WARNING(Service_NIFM, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 2, 2};rb.Push(RESULT_SUCCESS);rb.PushCopyObjects(event1, event2);}void Cancel(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service_NIFM, "(STUBBED) called");+ NGLOG_WARNING(Service_NIFM, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 2};rb.Push(RESULT_SUCCESS);}@@ -105,7 +105,7 @@ public:private:void GetClientId(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service_NIFM, "(STUBBED) called");+ NGLOG_WARNING(Service_NIFM, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 4};rb.Push(RESULT_SUCCESS);rb.Push<u64>(0);@@ -116,7 +116,7 @@ private:rb.Push(RESULT_SUCCESS);rb.PushIpcInterface<IScanRequest>();- LOG_DEBUG(Service_NIFM, "called");+ NGLOG_DEBUG(Service_NIFM, "called");}void CreateRequest(Kernel::HLERequestContext& ctx) {IPC::ResponseBuilder rb{ctx, 2, 0, 1};@@ -124,10 +124,10 @@ private:rb.Push(RESULT_SUCCESS);rb.PushIpcInterface<IRequest>();- LOG_DEBUG(Service_NIFM, "called");+ NGLOG_DEBUG(Service_NIFM, "called");}void RemoveNetworkProfile(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service_NIFM, "(STUBBED) called");+ NGLOG_WARNING(Service_NIFM, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 2};rb.Push(RESULT_SUCCESS);}@@ -137,7 +137,7 @@ private:rb.Push(RESULT_SUCCESS);rb.PushIpcInterface<INetworkProfile>();- LOG_DEBUG(Service_NIFM, "called");+ NGLOG_DEBUG(Service_NIFM, "called");}};@@ -187,14 +187,14 @@ void Module::Interface::CreateGeneralServiceOld(Kernel::HLERequestContext& ctx)IPC::ResponseBuilder rb{ctx, 2, 0, 1};rb.Push(RESULT_SUCCESS);rb.PushIpcInterface<IGeneralService>();- LOG_DEBUG(Service_NIFM, "called");+ NGLOG_DEBUG(Service_NIFM, "called");}void Module::Interface::CreateGeneralService(Kernel::HLERequestContext& ctx) {IPC::ResponseBuilder rb{ctx, 2, 0, 1};rb.Push(RESULT_SUCCESS);rb.PushIpcInterface<IGeneralService>();- LOG_DEBUG(Service_NIFM, "called");+ NGLOG_DEBUG(Service_NIFM, "called");}Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)