summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2018-12-18 00:04:02 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2018-12-18 18:37:03 +0100
commiteef6ce79a9c06f89be2760d7156eb44c063bab63 (patch)
tree607d09e817df56e2d0098dd1d3ac227bbf96df15 /src
parentMerge pull request #1905 from bunnei/ignore-empty-gpu-lists (diff)
downloadyuzu-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.cpp3
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,