mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 02:37:57 -05:00
Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user