summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-12-13 16:15:58 +0100
committerLioncash <mathew1800@gmail.com>2014-12-13 16:15:58 +0100
commitcfc0ee9c609ffaba525800ea1b58e1590eafc5b3 (patch)
treeda2bcba54d290368d57bf85220b12eef4902ef9c /src/core/hle/kernel
parentMerge pull request #258 from yuriks/log-ng (diff)
downloadyuzu-cfc0ee9c609ffaba525800ea1b58e1590eafc5b3.tar
yuzu-cfc0ee9c609ffaba525800ea1b58e1590eafc5b3.tar.gz
yuzu-cfc0ee9c609ffaba525800ea1b58e1590eafc5b3.tar.bz2
yuzu-cfc0ee9c609ffaba525800ea1b58e1590eafc5b3.tar.lz
yuzu-cfc0ee9c609ffaba525800ea1b58e1590eafc5b3.tar.xz
yuzu-cfc0ee9c609ffaba525800ea1b58e1590eafc5b3.tar.zst
yuzu-cfc0ee9c609ffaba525800ea1b58e1590eafc5b3.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/kernel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 00f9b57fc..85e3264b9 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -95,13 +95,13 @@ public:
T* Get(Handle handle) {
if (handle < HANDLE_OFFSET || handle >= HANDLE_OFFSET + MAX_COUNT || !occupied[handle - HANDLE_OFFSET]) {
if (handle != 0) {
- LOG_ERROR(Kernel, "Bad object handle %08x", handle, handle);
+ LOG_ERROR(Kernel, "Bad object handle %08x", handle);
}
return nullptr;
} else {
Object* t = pool[handle - HANDLE_OFFSET];
if (t->GetHandleType() != T::GetStaticHandleType()) {
- LOG_ERROR(Kernel, "Wrong object type for %08x", handle, handle);
+ LOG_ERROR(Kernel, "Wrong object type for %08x", handle);
return nullptr;
}
return static_cast<T*>(t);
@@ -134,7 +134,7 @@ public:
bool GetIDType(Handle handle, HandleType* type) const {
if ((handle < HANDLE_OFFSET) || (handle >= HANDLE_OFFSET + MAX_COUNT) ||
!occupied[handle - HANDLE_OFFSET]) {
- LOG_ERROR(Kernel, "Bad object handle %08X", handle, handle);
+ LOG_ERROR(Kernel, "Bad object handle %08X", handle);
return false;
}
Object* t = pool[handle - HANDLE_OFFSET];