summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-23 01:49:13 +0200
committerGitHub <noreply@github.com>2020-04-23 01:49:13 +0200
commitbee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a (patch)
tree3324c60237315be5680deca34eeb96a61dd13ff7 /src/core/hle/kernel
parentMerge pull request #3759 from H27CK/opus-mingw-w64 (diff)
parentthread: FPCR.FZ is likely not 1 (diff)
downloadyuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar.gz
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar.bz2
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar.lz
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar.xz
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.tar.zst
yuzu-bee2c64b34e908e2ea7d3729b2dcd9cfc0c7aa9a.zip
Diffstat (limited to 'src/core/hle/kernel')
-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,
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;
+ context.fpcr = 0;
}
ResultVal<std::shared_ptr<Thread>> Thread::Create(KernelCore& kernel, std::string name,