static ctor are static

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-05-15 19:05:12 +00:00
committed by Ploo
parent fe071c232f
commit e74eaf1a0b
+2 -2
View File
@@ -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;
}