summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2018-02-04 22:39:47 -0500
committerGravatar bunnei2018-02-04 22:39:47 -0500
commit8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570 (patch)
tree167f16e65e025013d90923b59d7d3f86159463c5 /src/core
parentlm: Ensure log string is non-empty before checking back(). (diff)
downloadyuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar.gz
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.tar.xz
yuzu-8d2e4c3d39dca1abcb1e48c5cdbe02bdb1a21570.zip
logger: Add APM service logging category.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/apm/apm.cpp5
1 files changed, 3 insertions, 2 deletions
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:
33 IPC::ResponseBuilder rb{ctx, 2}; 33 IPC::ResponseBuilder rb{ctx, 2};
34 rb.Push(RESULT_SUCCESS); 34 rb.Push(RESULT_SUCCESS);
35 35
36 LOG_WARNING(Service, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode), config); 36 LOG_WARNING(Service_APM, "(STUBBED) called mode=%u config=%u", static_cast<u32>(mode),
37 config);
37 } 38 }
38 39
39 void GetPerformanceConfiguration(Kernel::HLERequestContext& ctx) { 40 void GetPerformanceConfiguration(Kernel::HLERequestContext& ctx) {
@@ -45,7 +46,7 @@ private:
45 rb.Push(RESULT_SUCCESS); 46 rb.Push(RESULT_SUCCESS);
46 rb.Push<u32>(0); // Performance configuration 47 rb.Push<u32>(0); // Performance configuration
47 48
48 LOG_WARNING(Service, "(STUBBED) called mode=%u", static_cast<u32>(mode)); 49 LOG_WARNING(Service_APM, "(STUBBED) called mode=%u", static_cast<u32>(mode));
49 } 50 }
50}; 51};
51 52