mirror of
https://github.com/citron-neo/emulator.git
synced 2026-07-05 15:21:57 -07:00
@@ -386,8 +386,8 @@ struct KernelCore::Impl {
|
||||
ASSERT(KThread::InitializeDummyThread(thread, nullptr).IsSuccess());
|
||||
return thread;
|
||||
}};
|
||||
|
||||
t.raw_thread.emplace(system.Kernel());
|
||||
if (!t.raw_thread)
|
||||
t.raw_thread.emplace(system.Kernel());
|
||||
t.thread = existing_thread ? existing_thread : initialize(&t.raw_thread.value());
|
||||
return t.thread;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user