summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2015-01-30 11:28:09 -0500
committerGravatar Lioncash2015-01-30 11:28:09 -0500
commit0c53cc52bd3050fa000188ae6472659a402c6893 (patch)
tree171d6de97314c6e67713ff7683421391320a8ea7
parentMerge pull request #503 from yuriks/kernel-lifetime4 (diff)
downloadyuzu-0c53cc52bd3050fa000188ae6472659a402c6893.tar.gz
yuzu-0c53cc52bd3050fa000188ae6472659a402c6893.tar.xz
yuzu-0c53cc52bd3050fa000188ae6472659a402c6893.zip
apt_u: Fix missing printf specifiers
-rw-r--r--src/core/hle/service/apt_u.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/apt_u.cpp b/src/core/hle/service/apt_u.cpp
index 629b670ed..4c3f621d0 100644
--- a/src/core/hle/service/apt_u.cpp
+++ b/src/core/hle/service/apt_u.cpp
@@ -373,7 +373,7 @@ void SetAppCpuTimeLimit(Service::Interface* self) {
373 u32 percent = cmd_buff[2]; 373 u32 percent = cmd_buff[2];
374 374
375 if (value != 1) { 375 if (value != 1) {
376 LOG_ERROR(Service_APT, "This value must be one!", value); 376 LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value);
377 } 377 }
378 378
379 cmd_buff[1] = RESULT_SUCCESS.raw; // No error 379 cmd_buff[1] = RESULT_SUCCESS.raw; // No error
@@ -395,7 +395,7 @@ void GetAppCpuTimeLimit(Service::Interface* self) {
395 u32 value = cmd_buff[1]; 395 u32 value = cmd_buff[1];
396 396
397 if (value != 1) { 397 if (value != 1) {
398 LOG_ERROR(Service_APT, "This value must be one!", value); 398 LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value);
399 } 399 }
400 400
401 // TODO(purpasmart96): This is incorrect, I'm pretty sure the percentage should 401 // TODO(purpasmart96): This is incorrect, I'm pretty sure the percentage should