diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-18 20:24:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 20:24:20 +0200 |
commit | c2cf784376c16c16655ddffb3fd3441e4f4ee5fb (patch) | |
tree | 280b3949296ee26f5fd4d10a8953cc3f3c532ca4 /src/core/hle/kernel | |
parent | Merge pull request #1345 from lioncash/write (diff) | |
parent | arm_interface: Remove ARM11-isms from the CPU interface (diff) | |
download | yuzu-c2cf784376c16c16655ddffb3fd3441e4f4ee5fb.tar yuzu-c2cf784376c16c16655ddffb3fd3441e4f4ee5fb.tar.gz yuzu-c2cf784376c16c16655ddffb3fd3441e4f4ee5fb.tar.bz2 yuzu-c2cf784376c16c16655ddffb3fd3441e4f4ee5fb.tar.lz yuzu-c2cf784376c16c16655ddffb3fd3441e4f4ee5fb.tar.xz yuzu-c2cf784376c16c16655ddffb3fd3441e4f4ee5fb.tar.zst yuzu-c2cf784376c16c16655ddffb3fd3441e4f4ee5fb.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 89cd5f401..d4183d6e3 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -217,8 +217,8 @@ static void ResetThreadContext(Core::ARM_Interface::ThreadContext& context, VAdd context.cpu_registers[0] = arg; context.pc = entry_point; context.sp = stack_top; - context.cpsr = 0; - context.fpscr = 0; + context.pstate = 0; + context.fpcr = 0; } ResultVal<SharedPtr<Thread>> Thread::Create(KernelCore& kernel, std::string name, VAddr entry_point, |