diff options
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 4ffb76818..63f8923fd 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -158,6 +158,9 @@ static void ResetThreadContext(Core::ARM_Interface::ThreadContext& context, VAdd | |||
| 158 | context.cpu_registers[0] = arg; | 158 | context.cpu_registers[0] = arg; |
| 159 | context.pc = entry_point; | 159 | context.pc = entry_point; |
| 160 | context.sp = stack_top; | 160 | context.sp = stack_top; |
| 161 | // TODO(merry): Perform a hardware test to determine the below value. | ||
| 162 | // AHP = 0, DN = 1, FTZ = 1, RMode = Round towards zero | ||
| 163 | context.fpcr = 0x03C00000; | ||
| 161 | } | 164 | } |
| 162 | 165 | ||
| 163 | ResultVal<SharedPtr<Thread>> Thread::Create(KernelCore& kernel, std::string name, VAddr entry_point, | 166 | ResultVal<SharedPtr<Thread>> Thread::Create(KernelCore& kernel, std::string name, VAddr entry_point, |