summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-05 04:39:47 +0100
committerbunnei <bunneidev@gmail.com>2018-02-05 04:39:47 +0100
commit8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570 (patch)
tree167f16e65e025013d90923b59d7d3f86159463c5
parentlm: Ensure log string is non-empty before checking back(). (diff)
downloadyuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar.gz
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar.bz2
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar.lz
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar.xz
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar.zst
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.zip
Diffstat (limited to '')
-rw-r--r--src/common/logging/backend.cpp1
-rw-r--r--src/common/logging/log.h1
-rw-r--r--src/core/hle/service/apm/apm.cpp5
3 files changed, 5 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index c1f0311ce..27a18a6c2 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -34,6 +34,7 @@ namespace Log {
CLS(Service) \
SUB(Service, ACC) \
SUB(Service, AM) \
+ SUB(Service, APM) \
SUB(Service, SM) \
SUB(Service, FS) \
SUB(Service, GSP) \
diff --git a/src/common/logging/log.h b/src/common/logging/log.h
index bf1fe9bbc..83fd012f1 100644
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@ -51,6 +51,7 @@ enum class Class : ClassType {
/// should have its own subclass.
Service_ACC, ///< The ACC (Account service) implementation
Service_AM, ///< The AM (Applet manager service) implementation
+ Service_APM, ///< The APM service implementation
Service_SM, ///< The SRV (Service Directory) implementation
Service_FS, ///< The FS (Filesystem) service implementation
Service_GSP, ///< The GSP (GPU control) service
diff --git a/src/core/hle/service/apm/apm.cpp b/src/core/hle/service/apm/apm.cpp
index c4b1723c5..a7495d0a0 100644
--- a/src/core/hle/service/apm/apm.cpp
+++ b/src/core/hle/service/apm/apm.cpp
@@ -33,7 +33,8 @@ private:
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
- LOG_WARNING(Service, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode), config);
+ LOG_WARNING(Service_APM, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode),
+ config);
}
void GetPerformanceConfiguration(Kernel::HLERequestContext& ctx) {
@@ -45,7 +46,7 @@ private:
rb.Push(RESULT_SUCCESS);
rb.Push<u32>(0); // Performance configuration
- LOG_WARNING(Service, "(STUBBED) called mode=%u", static_cast<u32>(mode));
+ LOG_WARNING(Service_APM, "(STUBBED) called mode=%u", static_cast<u32>(mode));
}
};