diff options
author | bunnei <bunneidev@gmail.com> | 2016-05-18 03:24:57 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-05-18 03:24:57 +0200 |
commit | a39144050bbff3c093dbc402284aface713c5168 (patch) | |
tree | c55f388009abe0727ced35d6fa77023947b260d3 /src/core/hle/kernel | |
parent | Merge pull request #1786 from JayFoxRox/blend-equation (diff) | |
parent | Set fpscr for new threads (diff) | |
download | yuzu-a39144050bbff3c093dbc402284aface713c5168.tar yuzu-a39144050bbff3c093dbc402284aface713c5168.tar.gz yuzu-a39144050bbff3c093dbc402284aface713c5168.tar.bz2 yuzu-a39144050bbff3c093dbc402284aface713c5168.tar.lz yuzu-a39144050bbff3c093dbc402284aface713c5168.tar.xz yuzu-a39144050bbff3c093dbc402284aface713c5168.tar.zst yuzu-a39144050bbff3c093dbc402284aface713c5168.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 68f026918..43def6146 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -526,6 +526,8 @@ SharedPtr<Thread> SetupMainThread(u32 entry_point, s32 priority) { SharedPtr<Thread> thread = thread_res.MoveFrom(); + thread->context.fpscr = FPSCR_DEFAULT_NAN | FPSCR_FLUSH_TO_ZERO | FPSCR_ROUND_TOZERO | FPSCR_IXC; // 0x03C00010 + // Run new "main" thread SwitchContext(thread.get()); |