forked from eden-emu/eden
Merge pull request #9916 from liamwhite/fpu
kernel: clone fpu status on CreateThread
This commit is contained in:
commit
ec4e2d1fab
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