mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-15 14:57:00 +02:00
kernel: clone fpu status on CreateThread
This commit is contained in:
parent
a7792e5ff8
commit
484641003c
3 changed files with 28 additions and 1 deletions
|
|
@ -82,6 +82,9 @@ Result CreateThread(Core::System& system, Handle* out_handle, VAddr entry_point,
|
|||
// Commit the thread reservation.
|
||||
thread_reservation.Commit();
|
||||
|
||||
// Clone the current fpu status to the new thread.
|
||||
thread->CloneFpuStatus();
|
||||
|
||||
// Register the new thread.
|
||||
KThread::Register(kernel, thread);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue