diff options
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 32fa5e314..fc0364d5f 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -365,7 +365,7 @@ static void ResetThreadContext(ARM_Interface::ThreadContext& context, VAddr stac | |||
| 365 | context.cpu_registers[0] = arg; | 365 | context.cpu_registers[0] = arg; |
| 366 | context.pc = entry_point; | 366 | context.pc = entry_point; |
| 367 | context.sp = stack_top; | 367 | context.sp = stack_top; |
| 368 | context.cpsr = USER32MODE | ((entry_point & 1) << 5); // Usermode and THUMB mode | 368 | context.cpsr = USER32MODE; |
| 369 | } | 369 | } |
| 370 | 370 | ||
| 371 | ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, u32 priority, | 371 | ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, u32 priority, |