mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 14:58:39 -05:00
kernel: Fix build errors.
This commit is contained in:
@ -1015,8 +1015,13 @@ ResultVal<std::shared_ptr<KThread>> KThread::Create(Core::System& system, Thread
|
||||
|
||||
std::shared_ptr<KThread> thread = std::make_shared<KThread>(kernel);
|
||||
|
||||
thread->InitializeThread(thread.get(), entry_point, arg, stack_top, priority, processor_id,
|
||||
owner_process, type_flags);
|
||||
if (const auto result =
|
||||
thread->InitializeThread(thread.get(), entry_point, arg, stack_top, priority,
|
||||
processor_id, owner_process, type_flags);
|
||||
result.IsError()) {
|
||||
return result;
|
||||
}
|
||||
|
||||
thread->name = name;
|
||||
|
||||
auto& scheduler = kernel.GlobalSchedulerContext();
|
||||
|
Reference in New Issue
Block a user