summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-04-22 19:49:13 -0400
committerGravatar GitHub2020-04-22 19:49:13 -0400
commitbee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a (patch)
tree3324c60237315be5680deca34eeb96a61dd13ff7 /src
parentMerge pull request #3759 from H27CK/opus-mingw-w64 (diff)
parentthread: FPCR.FZ is likely not 1 (diff)
downloadyuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar.gz
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar.xz
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.zip
Merge pull request #3725 from MerryMage/fpcr
thread: FPCR.FZ is likely not 1 (and FPCR.RMode = TieAway and FPCR.DN = 0)
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/thread.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 4c0451c01..a919750a6 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -150,8 +150,7 @@ static void ResetThreadContext64(Core::ARM_Interface::ThreadContext64& context,
150 context.pc = entry_point; 150 context.pc = entry_point;
151 context.sp = stack_top; 151 context.sp = stack_top;
152 // TODO(merry): Perform a hardware test to determine the below value. 152 // TODO(merry): Perform a hardware test to determine the below value.
153 // AHP = 0, DN = 1, FTZ = 1, RMode = Round towards zero 153 context.fpcr = 0;
154 context.fpcr = 0x03C00000;
155} 154}
156 155
157ResultVal<std::shared_ptr<Thread>> Thread::Create(KernelCore& kernel, std::string name, 156ResultVal<std::shared_ptr<Thread>> Thread::Create(KernelCore& kernel, std::string name,