diff options
| author | 2023-03-09 09:19:15 -0500 | |
|---|---|---|
| committer | 2023-03-09 09:19:15 -0500 | |
| commit | ec4e2d1fab5ff71a33de1229dab191b679983daa (patch) | |
| tree | a0e09486cb95c4a86d03fb36e6df785c32a337cc /src/core/hle/kernel/svc | |
| parent | Merge pull request #9822 from ameerj/buffcache-ssbo-addr (diff) | |
| parent | kernel: clone fpu status on CreateThread (diff) | |
| download | yuzu-ec4e2d1fab5ff71a33de1229dab191b679983daa.tar.gz yuzu-ec4e2d1fab5ff71a33de1229dab191b679983daa.tar.xz yuzu-ec4e2d1fab5ff71a33de1229dab191b679983daa.zip | |
Merge pull request #9916 from liamwhite/fpu
kernel: clone fpu status on CreateThread
Diffstat (limited to 'src/core/hle/kernel/svc')
| -rw-r--r-- | src/core/hle/kernel/svc/svc_thread.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc/svc_thread.cpp b/src/core/hle/kernel/svc/svc_thread.cpp index b39807841..9bc1ebe74 100644 --- a/src/core/hle/kernel/svc/svc_thread.cpp +++ b/src/core/hle/kernel/svc/svc_thread.cpp | |||
| @@ -82,6 +82,9 @@ Result CreateThread(Core::System& system, Handle* out_handle, VAddr entry_point, | |||
| 82 | // Commit the thread reservation. | 82 | // Commit the thread reservation. |
| 83 | thread_reservation.Commit(); | 83 | thread_reservation.Commit(); |
| 84 | 84 | ||
| 85 | // Clone the current fpu status to the new thread. | ||
| 86 | thread->CloneFpuStatus(); | ||
| 87 | |||
| 85 | // Register the new thread. | 88 | // Register the new thread. |
| 86 | KThread::Register(kernel, thread); | 89 | KThread::Register(kernel, thread); |
| 87 | 90 | ||