Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants
This commit is contained in:
parent
73fba22c01
commit
23f2142009
8 changed files with 15 additions and 15 deletions
|
@ -96,7 +96,7 @@ public:
|
|||
return nullptr;
|
||||
} else {
|
||||
Object* t = pool[handle - HANDLE_OFFSET];
|
||||
if (t->GetHandleType() != T::GetStaticHandleType()) {
|
||||
if (t->GetHandleType() != T::HANDLE_TYPE) {
|
||||
LOG_ERROR(Kernel, "Wrong object type for %08x", handle);
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue