diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-05 04:35:42 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-02-05 04:35:42 +0100 |
commit | 485c6541cfec7f5c1405a6cfa82712e0485e4464 (patch) | |
tree | 1ac276882e12d1b9977c886877494b4c1d1993ba /src | |
parent | logger: Add VI service logging category. (diff) | |
download | yuzu-485c6541cfec7f5c1405a6cfa82712e0485e4464.tar yuzu-485c6541cfec7f5c1405a6cfa82712e0485e4464.tar.gz yuzu-485c6541cfec7f5c1405a6cfa82712e0485e4464.tar.bz2 yuzu-485c6541cfec7f5c1405a6cfa82712e0485e4464.tar.lz yuzu-485c6541cfec7f5c1405a6cfa82712e0485e4464.tar.xz yuzu-485c6541cfec7f5c1405a6cfa82712e0485e4464.tar.zst yuzu-485c6541cfec7f5c1405a6cfa82712e0485e4464.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/logging/backend.cpp | 1 | ||||
-rw-r--r-- | src/common/logging/log.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 10 | ||||
-rw-r--r-- | src/core/hle/service/nifm/nifm_a.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/service/nifm/nifm_s.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/service/nifm/nifm_u.cpp | 4 |
6 files changed, 13 insertions, 11 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 7d7291612..c1f0311ce 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -40,6 +40,7 @@ namespace Log { SUB(Service, CFG) \ SUB(Service, DSP) \ SUB(Service, HID) \ + SUB(Service, NIFM) \ SUB(Service, NVDRV) \ SUB(Service, Audio) \ SUB(Service, VI) \ diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 76cee71cb..bf1fe9bbc 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -57,6 +57,7 @@ enum class Class : ClassType { Service_CFG, ///< The CFG (Configuration) service Service_DSP, ///< The DSP (DSP control) service Service_HID, ///< The HID (Human interface device) service + Service_NIFM, ///< The NIFM (Network interface) service Service_NVDRV, ///< The NVDRV (Nvidia driver) service Service_Audio, ///< The Audio (Audio control) service Service_VI, ///< The VI (Video interface) service diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index f91571eb4..290a2ee74 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.cpp @@ -112,7 +112,7 @@ IGeneralService::IGeneralService() : ServiceFramework("IGeneralService") { } void IGeneralService::GetClientId(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service, "(STUBBED) called"); + LOG_WARNING(Service_NIFM, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); rb.Push<u64>(0); @@ -124,7 +124,7 @@ void IGeneralService::CreateScanRequest(Kernel::HLERequestContext& ctx) { rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IScanRequest>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } void IGeneralService::CreateRequest(Kernel::HLERequestContext& ctx) { @@ -133,11 +133,11 @@ void IGeneralService::CreateRequest(Kernel::HLERequestContext& ctx) { rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IRequest>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } void IGeneralService::RemoveNetworkProfile(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service, "(STUBBED) called"); + LOG_WARNING(Service_NIFM, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); } @@ -148,7 +148,7 @@ void IGeneralService::CreateTemporaryNetworkProfile(Kernel::HLERequestContext& c rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<INetworkProfile>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } void InstallInterfaces(SM::ServiceManager& service_manager) { diff --git a/src/core/hle/service/nifm/nifm_a.cpp b/src/core/hle/service/nifm/nifm_a.cpp index 3835a87bf..ee61d8ff4 100644 --- a/src/core/hle/service/nifm/nifm_a.cpp +++ b/src/core/hle/service/nifm/nifm_a.cpp @@ -14,14 +14,14 @@ void NIFM_A::CreateGeneralServiceOld(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IGeneralService>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } void NIFM_A::CreateGeneralService(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IGeneralService>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } NIFM_A::NIFM_A() : ServiceFramework("nifm:a") { diff --git a/src/core/hle/service/nifm/nifm_s.cpp b/src/core/hle/service/nifm/nifm_s.cpp index cbb42891c..c38b2a4c7 100644 --- a/src/core/hle/service/nifm/nifm_s.cpp +++ b/src/core/hle/service/nifm/nifm_s.cpp @@ -14,14 +14,14 @@ void NIFM_S::CreateGeneralServiceOld(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IGeneralService>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } void NIFM_S::CreateGeneralService(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IGeneralService>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } NIFM_S::NIFM_S() : ServiceFramework("nifm:s") { diff --git a/src/core/hle/service/nifm/nifm_u.cpp b/src/core/hle/service/nifm/nifm_u.cpp index c6de14744..a5895c13c 100644 --- a/src/core/hle/service/nifm/nifm_u.cpp +++ b/src/core/hle/service/nifm/nifm_u.cpp @@ -14,14 +14,14 @@ void NIFM_U::CreateGeneralServiceOld(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IGeneralService>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } void NIFM_U::CreateGeneralService(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IGeneralService>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_NIFM, "called"); } NIFM_U::NIFM_U() : ServiceFramework("nifm:u") { |