summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/handle_table.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-26 01:11:22 +0200
committerLioncash <mathew1800@gmail.com>2018-04-26 02:32:09 +0200
commit40dee76c57e76438d06fc282d1f8a632933d5816 (patch)
treeb8c8571cb0bd59744f431affdab790827feb446a /src/core/hle/kernel/handle_table.cpp
parentMerge pull request #390 from mailwl/pctl-module (diff)
downloadyuzu-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/handle_table.cpp')
-rw-r--r--src/core/hle/kernel/handle_table.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/handle_table.cpp b/src/core/hle/kernel/handle_table.cpp
index 822449cd5..f7a9920d8 100644
--- a/src/core/hle/kernel/handle_table.cpp
+++ b/src/core/hle/kernel/handle_table.cpp
@@ -26,7 +26,7 @@ ResultVal<Handle> HandleTable::Create(SharedPtr<Object> obj) {
u16 slot = next_free_slot;
if (slot >= generations.size()) {
- LOG_ERROR(Kernel, "Unable to allocate Handle, too many slots in use.");
+ NGLOG_ERROR(Kernel, "Unable to allocate Handle, too many slots in use.");
return ERR_OUT_OF_HANDLES;
}
next_free_slot = generations[slot];
@@ -48,7 +48,7 @@ ResultVal<Handle> HandleTable::Create(SharedPtr<Object> obj) {
ResultVal<Handle> HandleTable::Duplicate(Handle handle) {
SharedPtr<Object> object = GetGeneric(handle);
if (object == nullptr) {
- LOG_ERROR(Kernel, "Tried to duplicate invalid handle: %08X", handle);
+ NGLOG_ERROR(Kernel, "Tried to duplicate invalid handle: {:08X}", handle);
return ERR_INVALID_HANDLE;
}
return Create(std::move(object));