summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-12-30 18:08:26 +0100
committerbunnei <bunneidev@gmail.com>2017-12-30 18:08:26 +0100
commit7ccd8de863fce83b839c76478544c9dd6ae79262 (patch)
tree6b64ac7f1f1479b86195b05dbddc1eaa2a6561f4
parentthread: Main thread should be ready by default, all others dormant. (diff)
downloadyuzu-7ccd8de863fce83b839c76478544c9dd6ae79262.tar
yuzu-7ccd8de863fce83b839c76478544c9dd6ae79262.tar.gz
yuzu-7ccd8de863fce83b839c76478544c9dd6ae79262.tar.bz2
yuzu-7ccd8de863fce83b839c76478544c9dd6ae79262.tar.lz
yuzu-7ccd8de863fce83b839c76478544c9dd6ae79262.tar.xz
yuzu-7ccd8de863fce83b839c76478544c9dd6ae79262.tar.zst
yuzu-7ccd8de863fce83b839c76478544c9dd6ae79262.zip
-rw-r--r--src/core/hle/kernel/thread.cpp2
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
context.cpu_registers[0] = arg;
context.pc = entry_point;
context.sp = stack_top;
- context.cpsr = USER32MODE | ((entry_point & 1) << 5); // Usermode and THUMB mode
+ context.cpsr = USER32MODE;
}
ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, u32 priority,