diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-26 01:11:22 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-26 02:32:09 +0200 |
commit | 40dee76c57e76438d06fc282d1f8a632933d5816 (patch) | |
tree | b8c8571cb0bd59744f431affdab790827feb446a /src/core/hle/kernel/resource_limit.cpp | |
parent | Merge pull request #390 from mailwl/pctl-module (diff) | |
download | yuzu-40dee76c57e76438d06fc282d1f8a632933d5816.tar yuzu-40dee76c57e76438d06fc282d1f8a632933d5816.tar.gz yuzu-40dee76c57e76438d06fc282d1f8a632933d5816.tar.bz2 yuzu-40dee76c57e76438d06fc282d1f8a632933d5816.tar.lz yuzu-40dee76c57e76438d06fc282d1f8a632933d5816.tar.xz yuzu-40dee76c57e76438d06fc282d1f8a632933d5816.tar.zst yuzu-40dee76c57e76438d06fc282d1f8a632933d5816.zip |
Diffstat (limited to 'src/core/hle/kernel/resource_limit.cpp')
-rw-r--r-- | src/core/hle/kernel/resource_limit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/resource_limit.cpp b/src/core/hle/kernel/resource_limit.cpp index 88ca8ad7e..0ef5fc57d 100644 --- a/src/core/hle/kernel/resource_limit.cpp +++ b/src/core/hle/kernel/resource_limit.cpp @@ -29,7 +29,7 @@ SharedPtr<ResourceLimit> ResourceLimit::GetForCategory(ResourceLimitCategory cat case ResourceLimitCategory::OTHER: return resource_limits[static_cast<u8>(category)]; default: - LOG_CRITICAL(Kernel, "Unknown resource limit category"); + NGLOG_CRITICAL(Kernel, "Unknown resource limit category"); UNREACHABLE(); } } @@ -55,7 +55,7 @@ s32 ResourceLimit::GetCurrentResourceValue(ResourceType resource) const { case ResourceType::CPUTime: return current_cpu_time; default: - LOG_ERROR(Kernel, "Unknown resource type=%08X", static_cast<u32>(resource)); + NGLOG_ERROR(Kernel, "Unknown resource type={:08X}", static_cast<u32>(resource)); UNIMPLEMENTED(); return 0; } @@ -84,7 +84,7 @@ u32 ResourceLimit::GetMaxResourceValue(ResourceType resource) const { case ResourceType::CPUTime: return max_cpu_time; default: - LOG_ERROR(Kernel, "Unknown resource type=%08X", static_cast<u32>(resource)); + NGLOG_ERROR(Kernel, "Unknown resource type={:08X}", static_cast<u32>(resource)); UNIMPLEMENTED(); return 0; } |