mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-17 09:22:41 +00:00
Kernel: Move Thread's definition to the header file
This commit is contained in:
@@ -81,8 +81,7 @@ bool HandleTable::IsValid(Handle handle) const {
|
||||
|
||||
Object* HandleTable::GetGeneric(Handle handle) const {
|
||||
if (handle == CurrentThread) {
|
||||
// TODO(yuriks) Directly return the pointer once this is possible.
|
||||
handle = GetCurrentThreadHandle();
|
||||
return GetCurrentThread();
|
||||
} else if (handle == CurrentProcess) {
|
||||
LOG_ERROR(Kernel, "Current process (%08X) pseudo-handle not supported", CurrentProcess);
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user