diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2018-12-18 00:04:02 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2018-12-18 18:37:03 +0100 |
commit | eef6ce79a9c06f89be2760d7156eb44c063bab63 (patch) | |
tree | 607d09e817df56e2d0098dd1d3ac227bbf96df15 /src | |
parent | Merge pull request #1905 from bunnei/ignore-empty-gpu-lists (diff) | |
download | yuzu-eef6ce79a9c06f89be2760d7156eb44c063bab63.tar yuzu-eef6ce79a9c06f89be2760d7156eb44c063bab63.tar.gz yuzu-eef6ce79a9c06f89be2760d7156eb44c063bab63.tar.bz2 yuzu-eef6ce79a9c06f89be2760d7156eb44c063bab63.tar.lz yuzu-eef6ce79a9c06f89be2760d7156eb44c063bab63.tar.xz yuzu-eef6ce79a9c06f89be2760d7156eb44c063bab63.tar.zst yuzu-eef6ce79a9c06f89be2760d7156eb44c063bab63.zip |
Diffstat (limited to 'src')
-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 context.cpu_registers[0] = arg; context.pc = entry_point; context.sp = stack_top; + // TODO(merry): Perform a hardware test to determine the below value. + // AHP = 0, DN = 1, FTZ = 1, RMode = Round towards zero + context.fpcr = 0x03C00000; } ResultVal<SharedPtr<Thread>> Thread::Create(KernelCore& kernel, std::string name, VAddr entry_point, |