yuzu-emu
/
yuzu
Archived
1
0
Fork 0

thread: Remove THUMB mode flag.

This commit is contained in:
bunnei 2017-12-30 12:08:26 -05:00
parent eed4f2e229
commit 7ccd8de863
1 changed files with 1 additions and 1 deletions

View File

@ -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,