diff options
| author | 2020-04-19 08:37:20 +0100 | |
|---|---|---|
| committer | 2020-04-19 08:37:20 +0100 | |
| commit | 2bfac7b61d0461e3ff71a3936b84daeb43b6e769 (patch) | |
| tree | f4f0e745cb346e61d3ed50802d2b4b2ce0b8374e /src | |
| parent | Merge pull request #3651 from ReinUsesLisp/line-widths (diff) | |
| download | yuzu-2bfac7b61d0461e3ff71a3936b84daeb43b6e769.tar.gz yuzu-2bfac7b61d0461e3ff71a3936b84daeb43b6e769.tar.xz yuzu-2bfac7b61d0461e3ff71a3936b84daeb43b6e769.zip | |
thread: FPCR.FZ is likely not 1
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 83e956036..42c1c4303 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -148,8 +148,7 @@ static void ResetThreadContext64(Core::ARM_Interface::ThreadContext64& context, | |||
| 148 | context.pc = entry_point; | 148 | context.pc = entry_point; |
| 149 | context.sp = stack_top; | 149 | context.sp = stack_top; |
| 150 | // TODO(merry): Perform a hardware test to determine the below value. | 150 | // TODO(merry): Perform a hardware test to determine the below value. |
| 151 | // AHP = 0, DN = 1, FTZ = 1, RMode = Round towards zero | 151 | context.fpcr = 0; |
| 152 | context.fpcr = 0x03C00000; | ||
| 153 | } | 152 | } |
| 154 | 153 | ||
| 155 | ResultVal<std::shared_ptr<Thread>> Thread::Create(KernelCore& kernel, std::string name, | 154 | ResultVal<std::shared_ptr<Thread>> Thread::Create(KernelCore& kernel, std::string name, |