diff options
author | purpasmart96 <kanzoconfigz@hotmail.com> | 2015-05-16 04:25:02 +0200 |
---|---|---|
committer | purpasmart96 <kanzoconfigz@hotmail.com> | 2015-05-16 04:25:02 +0200 |
commit | 0fd727f3adc9611f1df62743d395e4e0ebdc6a46 (patch) | |
tree | 352b1903af7eec9a4ed4dc34b080691b1d21fe03 /src/core | |
parent | Merge pull request #774 from lioncash/decodings (diff) | |
download | yuzu-0fd727f3adc9611f1df62743d395e4e0ebdc6a46.tar yuzu-0fd727f3adc9611f1df62743d395e4e0ebdc6a46.tar.gz yuzu-0fd727f3adc9611f1df62743d395e4e0ebdc6a46.tar.bz2 yuzu-0fd727f3adc9611f1df62743d395e4e0ebdc6a46.tar.lz yuzu-0fd727f3adc9611f1df62743d395e4e0ebdc6a46.tar.xz yuzu-0fd727f3adc9611f1df62743d395e4e0ebdc6a46.tar.zst yuzu-0fd727f3adc9611f1df62743d395e4e0ebdc6a46.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/apt/apt.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/fs/fs_user.cpp | 8 |
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) { u32* cmd_buff = Kernel::GetCommandBuffer(); u32 value = cmd_buff[1]; - ASSERT(cpu_percent != 0); - if (value != 1) { LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value); } 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) { cmd_buff[1] = RESULT_SUCCESS.raw; - LOG_DEBUG(Service_FS, "called priority=0x%08X", priority); + LOG_DEBUG(Service_FS, "called priority=0x%X", priority); } /** @@ -664,12 +664,14 @@ static void SetPriority(Service::Interface* self) { static void GetPriority(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); - ASSERT(priority != -1); + if (priority == -1) { + LOG_INFO(Service_FS, "priority was not set, priority=0x%X", priority); + } cmd_buff[1] = RESULT_SUCCESS.raw; cmd_buff[2] = priority; - LOG_DEBUG(Service_FS, "called priority=0x%08X", priority); + LOG_DEBUG(Service_FS, "called priority=0x%X", priority); } const Interface::FunctionInfo FunctionTable[] = { |