summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/apt/apt.cpp2
-rw-r--r--src/core/hle/service/fs/fs_user.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index 09d463dd5..3fd4cfb08 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -269,8 +269,6 @@ void GetAppCpuTimeLimit(Service::Interface* self) {
269 u32* cmd_buff = Kernel::GetCommandBuffer(); 269 u32* cmd_buff = Kernel::GetCommandBuffer();
270 u32 value = cmd_buff[1]; 270 u32 value = cmd_buff[1];
271 271
272 ASSERT(cpu_percent != 0);
273
274 if (value != 1) { 272 if (value != 1) {
275 LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value); 273 LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value);
276 } 274 }
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp
index 0d2a426b0..b25c8941d 100644
--- a/src/core/hle/service/fs/fs_user.cpp
+++ b/src/core/hle/service/fs/fs_user.cpp
@@ -650,7 +650,7 @@ static void SetPriority(Service::Interface* self) {
650 650
651 cmd_buff[1] = RESULT_SUCCESS.raw; 651 cmd_buff[1] = RESULT_SUCCESS.raw;
652 652
653 LOG_DEBUG(Service_FS, "called priority=0x%08X", priority); 653 LOG_DEBUG(Service_FS, "called priority=0x%X", priority);
654} 654}
655 655
656/** 656/**
@@ -664,12 +664,14 @@ static void SetPriority(Service::Interface* self) {
664static void GetPriority(Service::Interface* self) { 664static void GetPriority(Service::Interface* self) {
665 u32* cmd_buff = Kernel::GetCommandBuffer(); 665 u32* cmd_buff = Kernel::GetCommandBuffer();
666 666
667 ASSERT(priority != -1); 667 if (priority == -1) {
668 LOG_INFO(Service_FS, "priority was not set, priority=0x%X", priority);
669 }
668 670
669 cmd_buff[1] = RESULT_SUCCESS.raw; 671 cmd_buff[1] = RESULT_SUCCESS.raw;
670 cmd_buff[2] = priority; 672 cmd_buff[2] = priority;
671 673
672 LOG_DEBUG(Service_FS, "called priority=0x%08X", priority); 674 LOG_DEBUG(Service_FS, "called priority=0x%X", priority);
673} 675}
674 676
675const Interface::FunctionInfo FunctionTable[] = { 677const Interface::FunctionInfo FunctionTable[] = {